Artifacts Associated With Ticket 211d71365
Ticket change [e52776e6dc] (rid 140348) by anonymous on 2014-10-17 14:53:07:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- 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) - foundin initialized to: "8.5.16"
- is_private initialized to: "0"
- login: "anonymous"
- priority initialized to: "5 Medium"
- private_contact initialized to: "739ee75779220cf80faa6227c8075ca6e4243280"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "anonymous"
- subsystem initialized to: "69. Other"
- title initialized to:
Tcl 8.5.16 for Windows cannot download a large file via http 2.7.13 package
- type initialized to: "Support"
Ticket change [1712c95656] (rid 140349) by dgp on 2014-10-17 15:06:44:
- assignee changed to: "dgp"
- closedate changed to: "2456948.12968185"
- closer changed to: "dgp"
- icomment:
Dup http://core.tcl.tk/tcl/tktview?name=ed29c4da21
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Duplicate"
- status changed to: "Closed"