bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/24086] HttpURLConnection broken for large response bodies


From: daney at gcc dot gnu dot org
Subject: [Bug classpath/24086] HttpURLConnection broken for large response bodies.
Date: 27 Sep 2005 17:57:39 -0000

------- Additional Comments From daney at gcc dot gnu dot org  2005-09-27 17:57 
-------
Created an attachment (id=9821)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9821&action=view)
Testcase

Run the attached HttpReceive.java against an http URL for a large (>2^31 bytes)
file.

For Sun's runtime I get:

$ java -cp . HttpReceive http://192.168.7.2/downloads/largefile
Response code: 200
 Content-Length:[3311353570]
 X-Powered-By:[ASP.NET]
 MicrosoftOfficeWebServer:[5.0_Pub]
 ETag:["adcbda8befc2c51:589f"]
Key is null
 null:[HTTP/1.1 200 OK]
 Date:[Tue, 27 Sep 2005 17:54:09 GMT]
 Accept-Ranges:[bytes]
 Content-Type:[application/octet-stream]
 Server:[Microsoft-IIS/6.0]
 Last-Modified:[Mon, 26 Sep 2005 23:10:54 GMT]


With gcj/libjcj I get:
$ ./HttpReceive http://192.168.7.2/downloads/largefile
And then my system starts thrashing and nothing prints out.  I never let it run
to the point where I get the OutOfMemoryError.

Note that on my FC3 system, the apache web server has a bug where it cannont
serve large files.  IIS on Windows2003 on the other hand can serve large files.
 My test file as you can see is 3311353570 bytes.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |daney at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24086




reply via email to

[Prev in Thread] Current Thread [Next in Thread]