Skip to content
Tcl Source Code View Ticket
Login

View Ticket

http + tls error

Deleted218276ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:55:21
OriginalBugID: 3376 Bug
Version: 8.2
SubmitDate: '1999-11-05'
LastModified: '1999-11-11'
Severity: LOW
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Windows NT
FixedDate: '2000-10-25'
ClosedDate: '1999-11-11'


Name:
wgj

ReproducibleScript:
% package require http
    2.1
    % package require tls
    1.3
    % http::register https 443 [list ::tls::socket -require 1 -cafile
    ./server.pem]
    invalid command name "http::register"
    % http::geturl
    no value given for parameter "url" to "http::geturl"
    % http::register https 443 [list ::tls::socket -require 1 -cafile
    ./server.pem]
    443 {::tls::socket -require 1 -cafile ./server.pem}



This appears to be a TLS bug.  It looks like they patched the http
package to include the new command, but not the pkgIndex.tcl file
such that it would be recognized.  When you use a previously
known command, it loads the library, and *then* you get the tls
added commands. 
-- 11/11/1999 hobbs
welch Deleted ticket [218276ffff]. [History diff]2000-10-26 08:18:57
dgp Ticket [218276ffff]: 3 changes [History diff]2001-04-19 02:43:16
Log in (anonymous is fine) to add a comment.