serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1708849 - /serf/trunk/outgoing.c
Date Thu, 15 Oct 2015 17:00:53 GMT
Author: rhuijben
Date: Thu Oct 15 17:00:52 2015
New Revision: 1708849

URL: http://svn.apache.org/viewvc?rev=1708849&view=rev
Log:
* outgoing.c
  (reset_connection): Properly reset some state variables.

Modified:
    serf/trunk/outgoing.c

Modified: serf/trunk/outgoing.c
URL: http://svn.apache.org/viewvc/serf/trunk/outgoing.c?rev=1708849&r1=1708848&r2=1708849&view=diff
==============================================================================
--- serf/trunk/outgoing.c (original)
+++ serf/trunk/outgoing.c Thu Oct 15 17:00:52 2015
@@ -715,6 +715,12 @@ static apr_status_t reset_connection(ser
     conn->ctx->dirty_pollset = 1;
     conn->state = SERF_CONN_INIT;
 
+    conn->hit_eof = 0;
+    conn->connect_time = 0;
+    conn->latency = -1;
+    conn->stop_writing = 0;
+    /* conn->pipelining */
+
     conn->status = APR_SUCCESS;
 
     /* Let our context know that we've 'reset' the socket already. */



Mime
View raw message