Overview
| Artifact ID: | dbb5be19eed460c8bb14f416b0ee6d1ae61f5f0888384a8835c050faf3b13c27 |
|---|---|
| Ticket: | 574618ffffffffffffffffffffffffffffffffff
Make http::geturl not block for connect |
| User & Date: | kjnash on 2022-08-28 18:59:37 |
Changes
- assignee changed to: "aku"
- closedate changed to: "2459820.29140425"
- closer changed to: "kjnash"
- comment changed to:
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.
- icomment:
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." - login: "kjnash"
- mimetype: "text/x-fossil-plain"
- resolution changed to: "Fixed"
- severity changed to: "Minor"
- status changed to: "Closed"