summaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorMika Fischer <mika.fischer@zoopnet.de>2011-11-04 15:19:27 +0100
committerJunio C Hamano <gitster@pobox.com>2011-11-04 10:47:13 -0700
commitdf26c471278f13ca6ad96b12a533ef4172323c13 (patch)
tree449705a9e769a8d16f5a6b36c38ecd2cf327f8e2 /http.h
parenteb56c82163487fe07ba04f2b365a557282cbd766 (diff)
downloadgit-df26c471278f13ca6ad96b12a533ef4172323c13.tar.gz
http.c: Rely on select instead of tracking whether data was received
Since now select is used with the file descriptors of the http connections, tracking whether data was received recently (and trying to read more in that case) is no longer necessary. Instead, always call select and rely on it to return as soon as new data can be read. Signed-off-by: Mika Fischer <mika.fischer@zoopnet.de> Helped-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http.h')
-rw-r--r--http.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/http.h b/http.h
index 19b7134fa5..d0089d1f7a 100644
--- a/http.h
+++ b/http.h
@@ -89,7 +89,6 @@ extern void step_active_slots(void);
extern void http_init(struct remote *remote);
extern void http_cleanup(void);
-extern int data_received;
extern int active_requests;
extern int http_is_verbose;
extern size_t http_post_buffer;