From 28a4fb36e751de91911b02fa76eba1f1caa284f5 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 8 Apr 2014 21:46:13 +0200 Subject: [PATCH 1/1] Call cs_rcvconnect during redirect YAZ-754 This is ensure that non-blocking getaddrinfo completes. --- src/zoom-c.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 1.7.10.4