aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorTay Ray Chuan <rctay89@gmail.com>2009-11-27 23:42:26 +0800
committerJunio C Hamano <gitster@pobox.com>2009-11-27 22:46:05 -0800
commitad75ebe5b3f10e77f1150d2d8111e6a60cb9039a (patch)
tree1f4d45f22c23ee4f8fd95ae5ba41bebc2b3b0098 /Documentation
parent41d5b7e362c33dc54cbc814e50403a2084204f9f (diff)
downloadgit-ad75ebe5b3f10e77f1150d2d8111e6a60cb9039a.tar.gz
git-ad75ebe5b3f10e77f1150d2d8111e6a60cb9039a.tar.xz
http: maintain curl sessions
Allow curl sessions to be kept alive (ie. not ended with curl_easy_cleanup()) even after the request is completed, the number of which is determined by the configuration setting http.minSessions. Add a count for curl sessions, and update it, across slots, when starting and ending curl sessions. Signed-off-by: Tay Ray Chuan <rctay89@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index a8e0876a2..b77d66da2 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -1132,6 +1132,12 @@ http.maxRequests::
How many HTTP requests to launch in parallel. Can be overridden
by the 'GIT_HTTP_MAX_REQUESTS' environment variable. Default is 5.
+http.minSessions::
+ The number of curl sessions (counted across slots) to be kept across
+ requests. They will not be ended with curl_easy_cleanup() until
+ http_cleanup() is invoked. If USE_CURL_MULTI is not defined, this
+ value will be capped at 1. Defaults to 1.
+
http.postBuffer::
Maximum size in bytes of the buffer used by smart HTTP
transports when POSTing data to the remote system.