projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c8eaf5
)
Call cs_rcvconnect during redirect YAZ-754
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 8 Apr 2014 19:46:13 +0000
(21:46 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 8 Apr 2014 19:46:13 +0000
(21:46 +0200)
This is ensure that non-blocking getaddrinfo completes.
src/zoom-c.c
patch
|
blob
|
history
diff --git
a/src/zoom-c.c
b/src/zoom-c.c
index
d2b2be9
..
37b87f9
100644
(file)
--- 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;
}