path: root/http.h
diff options
authorElia Pinto <>2016-05-23 13:44:02 (GMT)
committerJunio C Hamano <>2016-05-24 22:48:18 (GMT)
commit74c682d3c63bff8860af5caf9bd38a5413568709 (patch)
treee8447a94ad2cfbef7123bdc2e4b9bba82b353175 /http.h
parente6ac6e1f7d54584c2b03f073b5f329a37f4a9561 (diff)
http.c: implement the GIT_TRACE_CURL environment variable
Implement the GIT_TRACE_CURL environment variable to allow a greater degree of detail of GIT_CURL_VERBOSE, in particular the complete transport header and all the data payload exchanged. It might be useful if a particular situation could require a more thorough debugging analysis. Document the new GIT_TRACE_CURL environment variable. Helped-by: Torsten Bögershausen <> Helped-by: Ramsay Jones <> Helped-by: Junio C Hamano <> Helped-by: Eric Sunshine <> Helped-by: Jeff King <> Signed-off-by: Elia Pinto <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'http.h')
1 files changed, 2 insertions, 0 deletions
diff --git a/http.h b/http.h
index 4ef4bbd..2fb56d0 100644
--- a/http.h
+++ b/http.h
@@ -224,4 +224,6 @@ extern int finish_http_object_request(struct http_object_request *freq);
extern void abort_http_object_request(struct http_object_request *freq);
extern void release_http_object_request(struct http_object_request *freq);
+/* setup routine for curl_easy_setopt CURLOPT_DEBUGFUNCTION */
+void setup_curl_trace(CURL *handle);
#endif /* HTTP_H */