aboutsummaryrefslogtreecommitdiffstats
path: root/lib/oauth2.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2013-06-09 22:17:45 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2013-06-09 22:17:45 +0100
commitca8037e28d09ed96448509316a935eb130e6d3db (patch)
tree553b0a3a879d4708758874e812c86af814cd2bfc /lib/oauth2.c
parent41a94dd69dcbb5d4ef1fda5949196fed63994c03 (diff)
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
Diffstat (limited to 'lib/oauth2.c')
-rw-r--r--lib/oauth2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/oauth2.c b/lib/oauth2.c
index 69ce9d58..bfd4b143 100644
--- a/lib/oauth2.c
+++ b/lib/oauth2.c
@@ -95,7 +95,6 @@ int oauth2_access_token( const struct oauth2_service *sp,
"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( args_s ), args_s );
g_free( args_s );