From ca8037e28d09ed96448509316a935eb130e6d3db Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 9 Jun 2013 22:17:45 +0100 Subject: Add better handling of HTTP/1.1 and/or keepalive connections. This should let me close #641, and more importantly, prepares the Twitter module for an upcoming API change. https://dev.twitter.com/blog/deprecating-http-1.0-streaming-api --- lib/oauth.c | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/oauth.c') diff --git a/lib/oauth.c b/lib/oauth.c index 04949e1b..c78b4a43 100644 --- a/lib/oauth.c +++ b/lib/oauth.c @@ -261,7 +261,6 @@ static void *oauth_post_request( const char *url, GSList **params_, http_input_f "Host: %s\r\n" "Content-Type: application/x-www-form-urlencoded\r\n" "Content-Length: %zd\r\n" - "Connection: close\r\n" "\r\n" "%s", url_p.file, url_p.host, strlen( post ), post ); g_free( post ); -- cgit v1.2.3