Package: wget
Version: 1.9.1-12
Severity: normal

what I did was capture a HTTP response using netcat and then feed it to wget
using netcat....

cat capture | nc -lp 8083 &
wget http://localhost:8083/foo

netcat didn't successfuly see the end of the file. - I think it may be
relying on chunk boundaries being aligned with packet boundaries.

the response I was sending looked like this... (data part abbreviated)

HTTP/1.1 200 OK
Date: Thu, 18 Jan 2007 19:42:57 GMT
Server: Apache Webserver
X-Powered-By: PHP/4.4.4
Connection: close
Transfer-Encoding: chunked
Content-Type: image/png

1d   
<<0x1d data bytes>>
4   
abcd
4   
abcd
1000
<<0x1000 data bytes>>
6   
etc...
0

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.13.2jb2JB1
Locale: LANG=en_NZ, LC_CTYPE=en_NZ (charmap=ISO-8859-1)

Versions of packages wget depends on:
ii  libc6                 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii  libssl0.9.7           0.9.7e-3sarge4     SSL shared libraries

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to