From: Adam Dickmeiss Date: Tue, 8 Apr 2014 19:46:13 +0000 (+0200) Subject: Call cs_rcvconnect during redirect YAZ-754 X-Git-Tag: v5.0.22~1 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=28a4fb36e751de91911b02fa76eba1f1caa284f5;hp=1c8eaf558e17a0ef7de91a4e21a0b83683b3dfd7 Call cs_rcvconnect during redirect YAZ-754 This is ensure that non-blocking getaddrinfo completes. --- diff --git a/src/zoom-c.c b/src/zoom-c.c index d2b2be9..37b87f9 100644 --- a/src/zoom-c.c +++ b/src/zoom-c.c @@ -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; }