W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2001

chunkbody result 4 bytes short, chunk intermixes result with other text

From: Finn Ellebaek Nielsen <fen@changegroup.dk>
Date: Fri, 19 Jan 2001 18:53:13 +0100
To: <www-lib@w3.org>
Libwww 5.3.2 on Windows NT 4.0 SP5.

Using the binaries for chunk.exe and chunkbody.exe (the same problem with
the source, rebuilt with Visual C++).

The result returned from chunk.exe has strange characters before and after
the body:

Looking up cgntw02
Looking up cgntw02
Contacting cgntw02
Load resulted in status -1
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Date: Fri, 19 Jan 2001 17:47:42 GMT
Allow: GET, HEAD
Server: Oracle_Web_Listener/
Content-Type: text/html
Content-length: 28
Connection: close



and the result returned from chunkbody.exe is 4 bytes short:


Looking at ch->size in HTChunk_toString I can see that it is set to 24,
where it should be equal to the content length; 28.

Are these known bugs?


Received on Friday, 19 January 2001 12:54:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:53 UTC