axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r380625 - /webservices/axis2/trunk/c/modules/core/transport/http/sender/http_client.c
Date Fri, 24 Feb 2006 09:34:07 GMT
Author: samisa
Date: Fri Feb 24 01:34:02 2006
New Revision: 380625

URL: http://svn.apache.org/viewcvs?rev=380625&view=rev
Log:
Added fix to get the timeout working correct

Modified:
    webservices/axis2/trunk/c/modules/core/transport/http/sender/http_client.c

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/http_client.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/sender/http_client.c?rev=380625&r1=380624&r2=380625&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/http_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/http_client.c Fri Feb 24
01:34:02 2006
@@ -350,6 +350,14 @@
                 break;
             }
         }
+        
+        if (read < 0)
+        {
+            AXIS2_ERROR_SET((*env)->error, 
+                            AXIS2_ERROR_RESPONSE_TIMED_OUT, 
+                            AXIS2_FAILURE);
+            return -1;
+        }
         status_line = axis2_http_status_line_create(env, str_status_line);
         if(NULL == status_line)
         {



Mime
View raw message