Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2022-08-28
18:59 • Closed ticket [574618ffff]: Make http::geturl not block for connect plus 9 o... artifact: dbb5be19ee user: kjnash
2002-06-27
22:28 • Ticket [574618ffff]: 4 changes artifact: 073a17eae5 user: dchapes
22:28 • Add attachment patch to ticket [574618ffff] artifact: 72681c13a2 user: dchapes
15:06 • New ticket [574618ffff] Make http::geturl not block for connect. artifact: 57cdaf50ff user: dchapes

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: