[ http://issues.apache.org/jira/browse/AXIS2C-23?page=all ]
     
Sahan Gamage closed AXIS2C-23:
------------------------------

    Fix Version: Current (Nightly)
                     (was: M0.3)
     Resolution: Fixed

Content length is checked for every HTTP POST, If it is not there a 411 (Lenght 
Required) is returned to the client. The content length is taken and stored in 
the callback context. Also the callback conntext contains the the char count 
read by the parser. If the char count exceeds  the content length -1 is 
returned by the callback function to notify the parser about the end of data 
stream. At the moment we don't have chunking support. So the chunk size  issue 
is not taken in to account at this moment.

> HTTP transport does not seem to take into account the content-lengh/chunk size
> ------------------------------------------------------------------------------
>
>          Key: AXIS2C-23
>          URL: http://issues.apache.org/jira/browse/AXIS2C-23
>      Project: Axis2-C
>         Type: Bug
>   Components: core/transport
>     Reporter: Samisa Abeysinghe
>     Assignee: Sahan Gamage
>     Priority: Critical
>      Fix For: Current (Nightly)

>
> The read callback causes the server to hang at times when the parser tries to 
> read more data when there are none.
> Though this looks to be a problem with the SOAP builder, the callback is 
> called from within libxml2, and hence the transport callback impl method 
> should know how to tell the calling party that there are no more data. I used 
> a timeout as a hack. But this solution need to be more clean with the 
> transport looking for the end of the stream in line with the protocol in 
> operation and letting the calling party know that there are no more data 
> (that is return an empty buffer)

-- 
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

Reply via email to