Code

http: maintain curl sessions
authorTay Ray Chuan <rctay89@gmail.com>
Fri, 27 Nov 2009 15:42:26 +0000 (23:42 +0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 28 Nov 2009 06:46:05 +0000 (22:46 -0800)
commitad75ebe5b3f10e77f1150d2d8111e6a60cb9039a
tree1f4d45f22c23ee4f8fd95ae5ba41bebc2b3b0098
parent41d5b7e362c33dc54cbc814e50403a2084204f9f
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>
Documentation/config.txt
http.c