/pidgin/main: 38a55c0c4e7d: HTTP: enable keep-alive by default

Tomasz Wasilczyk tomkiewicz at cpw.pidgin.im
Mon Jul 22 12:37:41 EDT 2013


Changeset: 38a55c0c4e7d84a677db91b72fa52882aa8baace
Author:	 Tomasz Wasilczyk <tomkiewicz at cpw.pidgin.im>
Date:	 2013-07-21 20:53 +0200
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/38a55c0c4e7d

Description:

HTTP: enable keep-alive by default

diffstat:

 libpurple/http.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff --git a/libpurple/http.c b/libpurple/http.c
--- a/libpurple/http.c
+++ b/libpurple/http.c
@@ -2058,6 +2058,7 @@ PurpleHttpRequest * purple_http_request_
 	request->url = g_strdup(url);
 	request->headers = purple_http_headers_new();
 	request->cookie_jar = purple_http_cookie_jar_new();
+	request->keepalive_pool = purple_http_keepalive_pool_new();
 
 	request->timeout = PURPLE_HTTP_REQUEST_DEFAULT_TIMEOUT;
 	request->max_redirects = PURPLE_HTTP_REQUEST_DEFAULT_MAX_REDIRECTS;



More information about the Commits mailing list