Artifacts Associated With Ticket 506304ffffffffffffffffffffffffffffffffff
Ticket change [d077e9261e] (rid 113191) by apulsifer on 2002-01-21 06:11:23:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- 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. - foundin initialized to: "obsolete: 8.3.4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "apulsifer"
- subsystem initialized to: "29. http Package"
- title initialized to: "socket timeout requires program restart"
- type initialized to: "Bug"
Ticket change [3187eb4238] (rid 93443) by hobbs on 2002-03-23 06:44:34:
- closedate changed to: "2002-03-22T23:44:34"
- closer changed to: "hobbs"
- 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.
- login: "hobbs"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "hobbs"