Skip to content
Tcl Source Code History Of Ticket 211d71365
Login

History Of Ticket 211d71365

Artifacts Associated With Ticket 211d71365

  1. Ticket change [e52776e6dc] (rid 140348) by anonymous on 2014-10-17 14:53:07:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      I can reproduce this bug with the following simple code.
      
      The size of the sample file is 4,051,200 bytes.
      
      <verbatim>
      # get_access_log.tcl
      package require http
      set url "http://yusuke-blog.info/wp-content/uploads/2014/10/access_log_4mb.txt"
      set ch [open access_log_4mb.txt w]
      http::geturl $url -channel $ch -binary 1
      close $ch
      </verbatim>
      
      (Running in ActiveTcl 8.5.16 or self-compiled version with MinGW)
      <verbatim>
      >tclsh85 get_access_log.tcl
      => error reading "sock548": resource temporarily unavailable
          while executing
      "http::geturl $url -channel $ch"
          (file "get_access_log3.tcl" line 4)
      </verbatim>
      
      The size of the partially downloaded data is about several kilobytes.
      
      This error does not happen in Tcl 8.5.15 and Tcl 8.6.2.
      
      I guess this is not the issue of http package itself but a socket related issue.
      
      (Environment)<br>
      Windows 7 Professional SP1 64bit (Japanese)<br>
      ActiveTcl 8.5.16 32bit<br>
      Tcl/Tk 8.5.16 32bit (Self-compiled with MinGW)
      
    5. foundin initialized to: "8.5.16"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "739ee75779220cf80faa6227c8075ca6e4243280"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "anonymous"
    14. subsystem initialized to: "69. Other"
    15. title initialized to:
      Tcl 8.5.16 for Windows cannot download a large file via http 2.7.13 package
      
    16. type initialized to: "Support"
  2. Ticket change [1712c95656] (rid 140349) by dgp on 2014-10-17 15:06:44:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2456948.12968185"
    3. closer changed to: "dgp"
    4. icomment:
      
      Dup http://core.tcl.tk/tcl/tktview?name=ed29c4da21
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Duplicate"
    8. status changed to: "Closed"