Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000955 [Resin] minor always 02-21-06 09:13 02-27-06 14:03
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0000955: Hessian HttpURLConnection.setChunkedStreamingMode
Description (rep by Alon Salant)

I see that HessianProxyFactory supports the Java 1.5 HttpURLConnection method ‘setTimeout’. There is another new method that is very helpful (if it works as promised) for posting large chunks of data with HttpURLConnection that would be great to be able to use too.
 
We have found that because Hessian uses POST to make calls, the Sun class PosterOutputStream which extends ByteArrayOutputStream is used to write out serialized Hessian calls. This means that all the data to be posted is duplicated before being sent.
 
According to this forum post:
  http://forum.java.sun.com/thread.jspa?threadID=418441&messageID=2816084 [^]
and this bug report:
  http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5026745 [^]
 
this issue has been resolved in Java 1.5 with the ability for HttpURLConnection to send POST data in chunks over HTTP 1.1.
 
Can we get support for this in Hessian?
 
Additional Information
Attached Files

- Relationships

- Notes
(0000908)
ferg
02-27-06 14:03

fixed in 3.0.19
 

- Issue History
Date Modified Username Field Change
02-21-06 09:13 ferg New Issue
02-27-06 14:03 ferg Note Added: 0000908
02-27-06 14:03 ferg Assigned To  => ferg
02-27-06 14:03 ferg Status new => closed
02-27-06 14:03 ferg Resolution open => fixed
02-27-06 14:03 ferg Fixed in Version  => 3.0.19


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker