Re: Bugs in http
- From: drscrypt@xxxxxxxxx
- Date: Mon, 09 Nov 2009 20:52:25 -0500
tom.rmadilo wrote:
On Nov 8, 5:19 am, drscr...@xxxxxxxxx wrote:With Tcl/TK version 8.5.7, I think there is a bug in http::geturl. It
surfaces when I call it with the -channel, -timeout and -blocksize
options. Http version is 2.7.4.
If you could report the exact conditions which cause this it would
help, otherwise not much anyone can do. A few weeks ago someone
reported a similar "bug", but not quite the same. (If it is a public
url, please include it.)
I am not sure I follow - I don't have a server. I am using the client, http::geturl, to fetch yahoo's main page. Here is the call that causes trouble:
set file_id [open myfile.html w]
http::geturl http://www.yahoo.com -channel $file_id \
-blocksize 4096 timeout 60000
close $file_id
This call will block for a minute and then the file contains partial data from yahoo. Same thing works with the previous http::geturl version.
If you want to compare with a different http client, you could test my
experimental htclient:
Thanks, I think I may do that if this does not lead anywhere.
DrS
.
- Follow-Ups:
- Re: Bugs in http
- From: Gerald W. Lester
- Re: Bugs in http
- From: Alexandre Ferrieux
- Re: Bugs in http
- From: tom.rmadilo
- Re: Bugs in http
- References:
- Bugs in http
- From: drscrypt
- Re: Bugs in http
- From: tom.rmadilo
- Bugs in http
- Prev by Date: Re: Bugs in http
- Next by Date: Re: Bugs in http
- Previous by thread: Re: Bugs in http
- Next by thread: Re: Bugs in http
- Index(es):
Relevant Pages
|