Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: dbb5be19eed460c8bb14f416b0ee6d1ae61f5f0888384a8835c050faf3b13c27
Ticket: 574618ffffffffffffffffffffffffffffffffff
Make http::geturl not block for connect
User & Date: kjnash on 2022-08-28 18:59:37
Changes

  1. assignee changed to: "aku"
  2. closedate changed to: "2459820.29140425"
  3. closer changed to: "kjnash"
  4. 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.
    
  5. 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."
    
  6. login: "kjnash"
  7. mimetype: "text/x-fossil-plain"
  8. resolution changed to: "Fixed"
  9. severity changed to: "Minor"
  10. status changed to: "Closed"