Overview
| Artifact ID: | 09e39bed2f6e65359a222f8f42c537a91c41aa2b |
|---|---|
| Ticket: | 217765ffffffffffffffffffffffffffffffffff
HTTP package leaves sockets open in some error cases. |
| User & Date: | nobody on 2000-10-26 00:33:15 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 5741 Bug SubmitDate: '2000-05-29' LastModified: '2000-08-14' Severity: SER Status: Released Submitter: sandeep ChangedBy: key OS: All FixedDate: '2000-06-12' FixedInVersion: 2.0 ClosedDate: '2000-08-14' Steps To Reproduce: 1. Run the following script: package require http set chanCount [llength [file channels]] for {set i 0} {$i<200} {incr i} { catch {http::geturl [info host]:9876 -timeout 10000} } set endChanCount [llength [file channels]] puts "Open Channel Diff: [expr $endChanCount-$chanCount]" Expected Result: 0. There should be no difference. Actual Result: 200. All of the connection attempts failed, but the sockets, state array, after events, etc. were never cleared. This leaks socket handles, pretty serious. -- 05/30/2000 redman The socket leaking is fixed, and http::wait no longer throws exceptions. -- 05/30/2000 sandeep - foundin changed to: ""
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to:
HTTP package leaves sockets open in some error cases.
- type changed to: "Bug"