Artifacts Associated With Ticket 218910ffffffffff
Ticket change [b887288f0f] (rid 128979) by nobody on 2000-10-26 01:07:47:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 2665 Bug Version: 8.2 SubmitDate: '1999-08-31' LastModified: '1999-10-19' Severity: CRIT Status: Released Submitter: techsupp ChangedBy: hobbs OS: Solaris Machine: Other FixedDate: '1999-10-19' FixedInVersion: 8.2.2 ClosedDate: '2000-10-25' Name: Q. Alex Zhao Extensions: none CustomShell: none ReproducibleScript: It was something like: catch {::http::geturl "http://slashdot.org/" -timeout 60000 -command handleData} But the network was unstable and painfully slow. ObservedBehavior: The application-defined timeout didn't happen, and the -command script was not called. Instead, the http package had an error and crashed the application: error reading "sock8": connection timed out while executing "gets $s line" (procedure "http::Event" line 11) invoked from within "http::Event ::http::304" DesiredBehavior: The http (2.1) package should catch the error, and call the -command script (if it exists). A close look at the http2.1 package shows that in "http::Event" around code line 9: if {$state(state) == "header"} { set n [gets $s line] if {$n == 0} { The "set n [gets $s line]" should be changed to something like if {[catch {set n [gets $s line]} err]} {Finish $token $err} Fix applied for 8.3b1. -- 10/19/1999 hobbs - foundin initialized to: "obsolete: 8.2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "Unprotected "gets" in http2.1 package"
- type initialized to: "Bug"
Ticket change [3df2fd16de] (rid 121183) by welch on 2000-10-26 08:31:16:
- closedate changed to: "2000-10-26T01:31:16"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Deleted"
Ticket change [5c2fb07860] (rid 115252) by dgp on 2001-04-19 03:14:37:
- closedate changed to: "2001-04-18T20:14:37"
- closer changed to: "dgp"
- subsystem changed to: "29. http Package"
- title changed to: "Unprotected "gets" in http2.1 package"