Skip to content
Tcl Source Code History Of Ticket 506304ffffffffff
Login

History Of Ticket 506304ffffffffff

Artifacts Associated With Ticket 506304ffffffffff

  1. Ticket change [d077e9261e] (rid 113191) by apulsifer on 2002-01-21 06:11:23:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      This bug is in the socket command under Win 2K SP 2, 
      which also affects the http package.  Sorry if I 
      entered it under the wrong category.
      
      I have a script that downloads a bunch of web pages:
      
      while {[catch {set sp [socket $host $port]} errmsg]} {
      puts "socket failed: $errmsg"
      after 10000
      }
      
      Eventually, (usually after 10-20 minutes of 
      operation), the socket command will begin returning:
      
      $errmsg = couldn't open socket: connection timed out
      
      It will continue returning this error until I stop the 
      program with control-C.  When I rerun the program, 
      every thing is immediately fixed.
      
      I'm running under Win 2K SP 2.  This error condition 
      occurs only under v 8.3.4.  I downgraded to v8.3.2 and 
      I no longer have this problem.
      
      This error condition occurs when using the http 
      package, and when using the socket command directly.
      
      
    4. foundin initialized to: "obsolete: 8.3.4"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "apulsifer"
    9. subsystem initialized to: "29. http Package"
    10. title initialized to: "socket timeout requires program restart"
    11. type initialized to: "Bug"
  2. Ticket change [3187eb4238] (rid 93443) by hobbs on 2002-03-23 06:44:34:

    1. closedate changed to: "2002-03-22T23:44:34"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      In the sample, are you ever closing the sockets or doing 
      http::cleanup on the http tokens?  If not, this sounds like 
      a simple problem of running out of available handles.  That 
      wouldn't make sense if this really works in 8.3.2, but I'd 
      like to see a full sample script.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "hobbs"