You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Sahan Gamage (JIRA)" <ji...@apache.org> on 2006/03/15 06:11:39 UTC

[jira] Created: (AXIS2C-98) mod_axis2 cannot handle HTTP chunked streams

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


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


[jira] Resolved: (AXIS2C-98) mod_axis2 cannot handle HTTP chunked streams

Posted by "Sahan Gamage (JIRA)" <ji...@apache.org>.
     [ 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


[jira] Closed: (AXIS2C-98) mod_axis2 cannot handle HTTP chunked streams

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-98?page=all ]
     
Samisa Abeysinghe closed AXIS2C-98:
-----------------------------------


> 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