Skip to content
Tcl Source Code View Ticket
Login

View Ticket

-command and -timeout do not play together

Deleted1830525fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-11-12 16:27:35
If both -timeout and -command are specified an error results.

For example:

% package require http
2.5.0
% http::geturl http://209.17.146.136   -command HttpCallback  -blocksize 1024 -timeout 60
can't read "state(status)": no such variable
% set errorInfo
can't read "state(status)": no such variable
    while executing
"return $state(status)"
    (procedure "http::wait" line 10)
    invoked from within
"http::wait $token"
    (procedure "http::geturl" line 146)
    invoked from within
"http::geturl http://209.17.146.136   -command HttpCallback  -blocksize 1024 -timeout 60"


The IP address used in the example is that of www.tcl.tk
gwlester Ticket [1830525fff]: 1 change [History diff]2007-11-12 23:35:00
gwlester Deleted ticket [1830525fff]. [History diff]2007-11-13 00:10:28
Log in (anonymous is fine) to add a comment.