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

History Of Ticket 218601ffffffffff

Artifacts Associated With Ticket 218601ffffffffff

  1. Ticket change [998a538a67] (rid 110814) by nobody on 2000-10-26 01:02:58:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1406 Bug
      Version: 8.0.4
      SubmitDate: '1999-03-02'
      LastModified: '1999-11-03'
      Severity: SER
      Status: Released
      Submitter: pat
      ChangedBy: hobbs
      OS: Linux
      OSVersion: slackware 3.5, kernel 2.0.36, runtime libs for glibc2
      Machine: Other
      FixedDate: '1999-11-03'
      FixedInVersion: 8.2.2
      ClosedDate: '2000-10-25'
      
      
      Name:Luc Deschenaux
      
      ReproducibleScript:
      #I'm not sure I'm using 8.0.3... maybe 8.0.4...
      #The error occurs after a ::http::reset during a 
      #catch {::http::geturl http://localhost/file -channel $fileChan -progress #http_progress -timeout 30000 -headers {Pragma no-cache}}
      #http_progress is calling update.
      #::http::reset is called from the button -command option of the progress dialog #"Abort" button.
      global token
      set w .progress
      toplevel $w
      set b [button $w.button#1 -command {::http::reset $token}]
      pack $b
      set f [open $name w]
      if {![catch {::http::geturl http://localhost/file -channel $f -timeout 30000 -headers {Pragma no-cache} -progress http_progress}]} {}
      close $f
      catch {destroy $w}
      
      proc http_progress {tok total cur} {
          global token
          set token $tok
          update
      }
      
      ObservedBehavior:
      I can't catch the error.. it occurs when the user abort a http transfer
      (I saw it testing auto-update in my application... that sucks..)
      (I need to catch all errors to be able to do batch transfers without user interaction)
      
      STACK TRACE_______________________________________________
      
      can not find channel named "sock5"
          while executing
      "::eof $s"
          (procedure "http::CopyDone" line 11)
          invoked from within
      "http::CopyDone ::http::4 8192"
      
      DesiredBehavior:
      I expect you replace "::eof $s" with "catch {::eof $s}" within procedure http::CopyDone, line 11 but... :) I should be able to doit... I've got the source.. :) ok I install the latest version so that I'm sure I've got 8.0.4 and if package http is not byte compiled and not fixed I change it and I post the patch here.. 
      
      
      
      The necessary catches are in http2.1 of Tcl8.2.2. 
      -- 11/03/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.0.4"
    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:
      ::http::CopyDone try to eof a closed channel and don't catch
      
    11. type initialized to: "Bug"
  2. Ticket change [8aa81370bf] (rid 127428) by welch on 2000-10-26 08:25:10:

    1. closedate changed to: "2000-10-26T01:25:10"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Deleted"
  3. Ticket change [157dca0903] (rid 124572) by dgp on 2001-04-16 23:13:04:

    1. subsystem changed to: "29. http Package"
  4. Ticket change [3c157a270b] (rid 120855) by dgp on 2001-04-16 23:13:05:

    1. closedate changed to: "2001-04-16T16:13:05"
    2. closer changed to: "dgp"