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 "Dinesh Premalal (JIRA)" <ji...@apache.org> on 2006/11/27 09:48:21 UTC

[jira] Updated: (AXIS2C-428) 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.

     [ http://issues.apache.org/jira/browse/AXIS2C-428?page=all ]

Dinesh Premalal updated AXIS2C-428:
-----------------------------------

    Fix Version/s: 0.96

> 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
>             Fix For: 0.96
>
>
> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org