Overview
| Artifact ID: | e52776e6dcbff70d2f477385045042342956e101 |
|---|---|
| Ticket: | 211d71365f73288376f2db8535b4f20572197906
Tcl 8.5.16 for Windows cannot download a large file via http 2.7.13 package |
| User & Date: | anonymous on 2014-10-17 14:53:07 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed 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 changed to: "8.5.16"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "739ee75779220cf80faa6227c8075ca6e4243280"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "69. Other"
- title changed to:
Tcl 8.5.16 for Windows cannot download a large file via http 2.7.13 package
- type changed to: "Support"