[ http://issues.apache.org/jira/browse/AXIS2C-98?page=all ]
Sahan Gamage resolved AXIS2C-98:
--------------------------------
Fix Version: Current (Nightly)
Resolution: Fixed
Assign To: Sahan Gamage
Problem was specifying an invalid -5 to the ap_get_client_block(). Adding a get
type method to stream to identify the stream type and then using the correct
value for the STREAM_READ solved the problem.
> mod_axis2 cannot handle HTTP chunked streams
> --------------------------------------------
>
> Key: AXIS2C-98
> URL: http://issues.apache.org/jira/browse/AXIS2C-98
> Project: Axis2-C
> Type: Bug
> Components: transport/http
> Versions: Current (Nightly)
> Reporter: Sahan Gamage
> Assignee: Sahan Gamage
> Fix For: Current (Nightly)
>
> Axis2 Apache2 integration module cannot handle HTTP chunked streams. The
> problem is, when the input stream from client is chunked, Apache2 gives the
> data plus the last chunk (0\r\n) of the chunked stream when
> ap_get_client_block() is called. LibXML2 parser assumes this last chunk is
> also a part of the xml stream (even though the correct xml is already read by
> the library) and gives an invaid xml error.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira