diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2013-06-16 13:15:15 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2013-06-16 13:15:15 +0100 |
commit | ab19567e25a35beb23f922303d1f60ed13228356 (patch) | |
tree | 8a29cfdea7ba920861c13fe98242e449615f8bbc /lib/oauth2.c | |
parent | 41a94dd69dcbb5d4ef1fda5949196fed63994c03 (diff) | |
parent | dd7b931d0fe950c5a6646c72565739fd8835c136 (diff) |
Merging HTTP/1.1 branch. This implements HTTP/1.1 support in http_client.
Little benefit as I'm not burning my fingers on keepalive connecitons for
now, but eventually the Twitter streaming API is going to drop 1.0 support:
https://dev.twitter.com/blog/deprecating-http-1.0-streaming-api
Diffstat (limited to 'lib/oauth2.c')
-rw-r--r-- | lib/oauth2.c | 1 |
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 ); |