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

History Of Ticket 218910ffffffffff

Artifacts Associated With Ticket 218910ffffffffff

  1. Ticket change [b887288f0f] (rid 128979) by nobody on 2000-10-26 01:07:47:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
    4. foundin initialized to: "obsolete: 8.2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "Unprotected "gets" in http2.1 package"
    11. type initialized to: "Bug"
  2. Ticket change [3df2fd16de] (rid 121183) by welch on 2000-10-26 08:31:16:

    1. closedate changed to: "2000-10-26T01:31:16"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Deleted"
  3. Ticket change [5c2fb07860] (rid 115252) by dgp on 2001-04-19 03:14:37:

    1. closedate changed to: "2001-04-18T20:14:37"
    2. closer changed to: "dgp"
    3. subsystem changed to: "29. http Package"
    4. title changed to: "Unprotected "gets" in http2.1 package"