summaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorElia Pinto <gitter.spiros@gmail.com>2016-05-23 13:44:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-05-24 22:48:18 (GMT)
commit74c682d3c63bff8860af5caf9bd38a5413568709 (patch)
treee8447a94ad2cfbef7123bdc2e4b9bba82b353175 /http.h
parente6ac6e1f7d54584c2b03f073b5f329a37f4a9561 (diff)
downloadgit-74c682d3c63bff8860af5caf9bd38a5413568709.zip
git-74c682d3c63bff8860af5caf9bd38a5413568709.tar.gz
git-74c682d3c63bff8860af5caf9bd38a5413568709.tar.bz2
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 <tboegi@web.de> Helped-by: Ramsay Jones <ramsay@ramsayjones.plus.com> Helped-by: Junio C Hamano <gitster@pobox.com> Helped-by: Eric Sunshine <sunshine@sunshineco.com> Helped-by: Jeff King <peff@peff.net> Signed-off-by: Elia Pinto <gitter.spiros@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http.h')
-rw-r--r--http.h2
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 */