summaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-10-17 21:37:15 -0700
committerJunio C Hamano <gitster@pobox.com>2011-10-17 21:37:15 -0700
commit963838402a94e7fcbd1a73019f80aff708972af8 (patch)
treedfc5a1a62cfd83d5e199974ace5725d5a7fe6946 /http.h
parent7f8a9387fd28b1cc4029bb8a8d66cd577d8dd1e3 (diff)
parentdeba49377b717d1e26c342f65c7f5e75a2db8641 (diff)
downloadgit-963838402a94e7fcbd1a73019f80aff708972af8.tar.gz
Merge branch 'jk/http-auth'
* jk/http-auth: http_init: accept separate URL parameter http: use hostname in credential description http: retry authentication failures for all http requests remote-curl: don't retry auth failures with dumb protocol improve httpd auth tests url: decode buffers that are not NUL-terminated
Diffstat (limited to 'http.h')
-rw-r--r--http.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.h b/http.h
index 0bf8592dc4..3c332a98e9 100644
--- a/http.h
+++ b/http.h
@@ -86,7 +86,7 @@ extern void add_fill_function(void *data, int (*fill)(void *));
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;