From: Junio C Hamano Date: Mon, 5 Dec 2011 23:10:28 +0000 (-0800) Subject: Merge branch 'mf/curl-select-fdset' X-Git-Tag: v1.7.9-rc0~101 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c4c9a63b5434d008fdbfc8c41240d642cbe5147e;p=git.git Merge branch 'mf/curl-select-fdset' * mf/curl-select-fdset: http: drop "local" member from request struct http.c: Rely on select instead of tracking whether data was received http.c: Use timeout suggested by curl instead of fixed 50ms timeout http.c: Use curl_multi_fdset to select on curl fds instead of just sleeping --- c4c9a63b5434d008fdbfc8c41240d642cbe5147e diff --cc http.h index 3c332a98e,368bc0e80..ee1606942 --- a/http.h +++ b/http.h @@@ -86,10 -85,9 +85,9 @@@ extern void add_fill_function(void *dat extern void step_active_slots(void); #endif -extern void http_init(struct remote *remote); +extern void http_init(struct remote *remote, const char *url); extern void http_cleanup(void); - extern int data_received; extern int active_requests; extern int http_is_verbose; extern size_t http_post_buffer;