Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Make http::geturl not block for connect

Closed / Fixed574618ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 4 years ago
Descriptionplain2002-06-27 15:06:57
http::geturl with the -command option claims to return 
immediatly without blocking.  However it does block for 
connect.  This patch removes this unwanted behaviour.

This patch also includes my patch in tracker item 
559898 since the patches have some overlap.  That 
patch adds a -myaddr option that gets passed to the 
socket command.
dchapesplain2002-06-27 22:28:42
File Added - 25934: patch
kjnashplain2022-08-28 18:59:37
Previously the socket was opened with -async iff {$state(-timeout) > 0}.

The patch uses -async in all cases.

This fix was applied in http.tcl file [c79cd9e6f8] of check-in: [b242bb3e4b] dated 2013-01-23 14:04.

"Fix [2911139]: connect asynchronously, but without unnecessary internal waits."
Log in (anonymous is fine) to add a comment.

Attachments: