aboutsummaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-12-13 22:03:17 -0800
committerJunio C Hamano <gitster@pobox.com>2011-12-13 22:03:17 -0800
commitfc545433bdab7ec17e6609d2249771d407370a4d (patch)
tree3031c9ac8b14137516b0f6deb55f2084fcdb432b /http.h
parentdf6246ed78d040f06f095dd62d8db07a0aa19a96 (diff)
parent093c44a3600323c3ca7a8d28a0d2ba2bc145dd47 (diff)
downloadgit-fc545433bdab7ec17e6609d2249771d407370a4d.tar.gz
git-fc545433bdab7ec17e6609d2249771d407370a4d.tar.xz
Merge branch 'mf/curl-select-fdset' into maint
* 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
Diffstat (limited to 'http.h')
-rw-r--r--http.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/http.h b/http.h
index 3c332a98e..ee1606942 100644
--- a/http.h
+++ b/http.h
@@ -49,7 +49,6 @@ struct slot_results {
struct active_request_slot {
CURL *curl;
- FILE *local;
int in_use;
CURLcode curl_result;
long http_code;
@@ -89,7 +88,6 @@ extern void step_active_slots(void);
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;