Changeset 2423c93 for lib/oauth.c


Ignore:
Timestamp:
2011-04-18T14:14:28Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
ff139f0
Parents:
6eca2eb
Message:

Send Connection: close headers so webservers won't try keepalive connections
which http_client really can't deal with.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/oauth.c

    r6eca2eb r2423c93  
    286286                             "Content-Type: application/x-www-form-urlencoded\r\n"
    287287                             "Content-Length: %zd\r\n"
     288                             "Connection: close\r\n"
    288289                             "\r\n"
    289290                             "%s", url_p.file, url_p.host, strlen( post ), post );
Note: See TracChangeset for help on using the changeset viewer.