Bug#317162: kaffe: Un/compress contentlenght problem with HttpURLConnection or URLConnection

Wolfgang Baer Wolfgang Baer <WBaer@gmx.de>, 317162@bugs.debian.org
Fri Jul 8 07:39:03 UTC 2005


Robert Warren wrote:
> Package: kaffe
> Version: 2:1.1.5-3
> Severity: important
> 
> *** Please type your report below this line ***
> 
> java.net.URLConnection and/or java.net.HttpURLConnection report the
> compressed content length according to the http headers when the webserver
> sends a gzip compressed file.
> 
> However, when an InputStream for the content is created with
> getInputStream(), the read() and available() methods will only return
> uncompressed caracters for the length of the compressed payload. The raw
> data is thus truncated.

Hi Robert,

thanks for your bug report - can you write a small testcase so I can
test it against the kaffe cvs version if it is maybe already solved.

There was a lot of bug fixes on the URL/HTTP stuff the last weeks in
gnu classpath.

If not I will forward the bug report upstream.

Thanks,

Wolfgang





More information about the pkg-java-maintainers mailing list