author | Junio C Hamano <gitster@pobox.com> | |
Mon, 5 Dec 2011 23:10:28 +0000 (15:10 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 5 Dec 2011 23:10:28 +0000 (15:10 -0800) |
* 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
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
1 | 2 | |||
---|---|---|---|---|
http.c | patch | | diff1 | | diff2 | | blob | history |
http.h | patch | | diff1 | | diff2 | | blob | history |
diff --cc http.c
Simple merge
diff --cc http.h
index 3c332a98e9358a296b937453351018ac1042120e,368bc0e80aa7d986893dfac32ae655599cdbc431..ee1606942a9716b45da937873949220ab7f8092b
+++ b/http.h
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;