http_client reads data from a socket without checking weather the socket is 
ready to give data. If the data arrived and socket is not ready client assumes 
data is not available.  
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: AXIS2C-428
                 URL: http://issues.apache.org/jira/browse/AXIS2C-428
             Project: Axis2-C
          Issue Type: Bug
          Components: transport/http
    Affects Versions: Current (Nightly)
            Reporter: Supun Kamburugamuva


File - modules\core\transport\http\sender\http_client.c
Function - axis2_http_client_recieve_header
Line - 512

The statement in this line reads the data stream and assign the number of 
characters read to the "read" variable. But this line does not check weather 
the socket is capable of giving data at the time of access (Socket is ready or 
not). In some cases when this statement executes, data has arrived but the 
socket is not ready to give the data. So the client assumes error. As a result 
the method returns with error although the response has arrived.

When this happens the svc_client "send_xxxx" methods returns with null results 
event though the actual response has arrived. This bug occurs in random.   


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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to