serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1709934 - /serf/trunk/outgoing.c
Date Wed, 21 Oct 2015 23:19:22 GMT
Author: rhuijben
Date: Wed Oct 21 23:19:21 2015
New Revision: 1709934

URL: http://svn.apache.org/viewvc?rev=1709934&view=rev
Log:
* outgoing.c
  (serf__process_connection): Following up on r1709933, tweak the code to not
    only handle the connect event on the first APR_POLLOUT event, but also
    allow writing.

Modified:
    serf/trunk/outgoing.c

Modified: serf/trunk/outgoing.c
URL: http://svn.apache.org/viewvc/serf/trunk/outgoing.c?rev=1709934&r1=1709933&r2=1709934&view=diff
==============================================================================
--- serf/trunk/outgoing.c (original)
+++ serf/trunk/outgoing.c Wed Oct 21 23:19:21 2015
@@ -1313,7 +1313,8 @@ apr_status_t serf__process_connection(se
             conn->dirty_conn = TRUE;
             conn->ctx->dirty_pollset = TRUE;
 
-            return connect_connection(conn);
+            if ((status = connect_connection(conn)) != APR_SUCCESS)
+                return status;
         }
 
         if ((status = conn->perform_write(conn)) != APR_SUCCESS)



Mime
View raw message