Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2007-11-13
00:10 • Deleted ticket [1830525fff]: -command and -timeout do not play together plus... artifact: d5123e81ea user: gwlester
2007-11-12
23:35 • Ticket [1830525fff]: 1 change artifact: 214e34ba0c user: gwlester
16:27 • New ticket [1830525fff]. artifact: 4d1e528328 user: gwlester

-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.