Call cs_rcvconnect during redirect YAZ-754
[yaz-moved-to-github.git] / src / zoom-c.c
index d2b2be9..37b87f9 100644 (file)
@@ -1563,6 +1563,7 @@ static void handle_http(ZOOM_connection c, Z_HTTP_Response *hres)
                                           location, &host_change);
             if (do_connect_host(c, location) == zoom_complete)
                 return;  /* connect failed.. */
+            cs_rcvconnect(c->cs);
             send_HTTP_redirect(c, location);
             return;
         }