Author: rhuijben
Date: Mon Nov 23 12:28:10 2015
New Revision: 1715782

URL: http://svn.apache.org/viewvc?rev=1715782&view=rev
Log:
* pump.c
  (serf_pump__complete_setup): When stream is passed, store it
    and set config on it.

Modified:
    serf/trunk/pump.c

Modified: serf/trunk/pump.c
URL: 
http://svn.apache.org/viewvc/serf/trunk/pump.c?rev=1715782&r1=1715781&r2=1715782&view=diff
==============================================================================
--- serf/trunk/pump.c (original)
+++ serf/trunk/pump.c Mon Nov 23 12:28:10 2015
@@ -158,8 +158,10 @@ void serf_pump__complete_setup(serf_pump
     /* Share the configuration with the ssl_decrypt and socket buckets. The
      response buckets wrapping the ssl_decrypt/socket buckets won't get the
      config automatically because they are upstream. */
-    if (stream != NULL)
+    if (stream != NULL) {
+        pump->stream = stream;
         serf_bucket_set_config(pump->stream, pump->config);
+    }
 
     /* We typically have one of two scenarios, based on whether the
        application decided to encrypt this connection:


Reply via email to