[PATCH 4/9] http-fetch: Actually watch the file descriptors of interest.
From: Mark Wooding <mdw@distorted.org.uk>
Presumably this was just some kind of oversight.
Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
---
http.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/http.c b/http.c
index 0a70e1c..521323c 100644
--- a/http.c
+++ b/http.c
@@ -425,6 +425,8 @@ void run_active_slot(struct active_reque
FD_ZERO(&excfds);
select_timeout.tv_sec = 0;
select_timeout.tv_usec = 50000;
+ curl_multi_fdset(curlm, &readfds, &writefds,
+ &excfds, &max_fd);
select(max_fd, &readfds, &writefds,
&excfds, &select_timeout);
}