[
http://jira.jboss.com/jira/browse/JBREM-927?page=comments#action_12402638 ]
Ron Sigal commented on JBREM-927:
---------------------------------
CompressingUnMarshaller.read() checks if wrapped unmarshaller is HTTPUnMarshaller, and if
it is, will set content-length to Integer.MAX_VALUE, so that HTTPUnMarshaller will quit
reading only at end of file.
Unit test: org.jboss.test.remoting.marshall.compress.WrappedHttpUnMarshallerTestCase
Waiting for results from hudson.
Adjust content length when CompressingUnMarshaller wraps
HTTPUnMarshaller
-------------------------------------------------------------------------
Key: JBREM-927
URL:
http://jira.jboss.com/jira/browse/JBREM-927
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 2.4.0.Beta2 (Pinto), 2.2.2.SP4
Reporter: Ron Sigal
Assigned To: Ron Sigal
Priority: Minor
Fix For: 2.4.0.CR1 (Pinto)
When org.jboss.remoting.marshal.compress.CompressingUnMarshaller wraps
org.jboss.remoting.marshal.http.HTTPUnMarshaller, and the payload is a String, then
HTTPUnMarshaller can be mislead by the value of content-length, which is the length of the
compressed payload rather than the number of bytes HTTPUnMarshaller should read.
Reported by Alex on forum.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira