Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Merging HTTP/1.1 branch. This implements HTTP/1.1 support in http_client. | Wilmer van der Gaast | 2013-06-16 | -70/+183 |
|\ | | | | | | | | | | | | | 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 | |||
| * | Use HTTP/1.1 by default in the Twitter module, and stick to the initially | Wilmer van der Gaast | 2013-06-16 | -3/+15 |
| | | | | | | | | | | used protocol version when internally handling redirects. | |||
| * | Add better handling of HTTP/1.1 and/or keepalive connections. This should | Wilmer van der Gaast | 2013-06-09 | -68/+164 |
|/ | | | | | | 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 | |||
* | Whoops, remove those debugging printfs as I intended to do before merging. | Wilmer van der Gaast | 2012-12-24 | -2/+1 |
| | ||||
* | Clean up streaming HTTP event handler, which should fix crash-bugs with GLib. | Wilmer van der Gaast | 2012-11-25 | -0/+3 |
| | | | | | Forgot to do this so far because my libevent code let me get away with it. | |||
* | Increasing http_client buffersize to 4KB. You'd think that with things like | Wilmer van der Gaast | 2012-11-24 | -1/+1 |
| | | | | | | | | | MTU in mind it's not a very useful change, but I seem to be getting data in bigger chunks most of the time. Likely because with SSL you have record (?) boundaries and compression. This should reduce I/O overhead just a little bit. | |||
* | Detect and handle streaming connection loss. | Wilmer van der Gaast | 2012-11-11 | -0/+2 |
| | ||||
* | Mostly finished HTTP streaming support: Shrink the buffer and add a | Wilmer van der Gaast | 2012-11-11 | -3/+25 |
| | | | | | http_close(). | |||
* | Very immature code for reading from the streaming API. It reads from a | Wilmer van der Gaast | 2012-11-10 | -0/+1 |
| | | | | | | fixed URL and tried to parse individual JSON objects. Not doing anything useful with it. | |||
* | Reworked http_client a little bit to support streaming besides just buffering | Wilmer van der Gaast | 2012-11-10 | -47/+110 |
| | | | | | a complete response before giving it back to the caller. | |||
* | Since I can't figure out where the stalls are coming from at this point, at | Wilmer van der Gaast | 2012-09-22 | -1/+1 |
| | | | | | | | | least have a work-around for it. After hitting the Twitter timer a few times while a previous fetch still seems to be running, close the connection. Auto-reconnect will do the rest. | |||
* | Solve a whole bunch of Twitter module crashes: Twitter responses seem to | Wilmer van der Gaast | 2012-09-22 | -2/+15 |
| | | | | | | be getting truncated sometimes. Treat this as an error in http_client already instead of returning partial data. | |||
* | Merging SSL certificate verification for GnuTLS, with help from AopicieR. | Wilmer van der Gaast | 2011-12-23 | -5/+16 |
|\ | ||||
| * | Add verify argument to ssl_connect() so HTTPS-based stuff is also secure. | Wilmer van der Gaast | 2011-12-19 | -3/+14 |
| | | | | | | | | | | (Think of Twitter, but also MSN/Yahoo! authentication.) | |||
| * | Initial merge of tls_verify patch from AopicieR. | Wilmer van der Gaast | 2011-12-19 | -2/+3 |
|/ | ||||
* | Support HTTP/1.1 redirect status codes and use HTTPS for OAuth setup. This | Wilmer van der Gaast | 2011-12-11 | -6/+22 |
| | | | | | | is required for identi.ca and really should be done for Twitter as well. Twitter OAuth is still broken though, it seems to disagree about signatures. | |||
* | Somewhat improve debug logging of HTTP/SOAP stuff. | Wilmer van der Gaast | 2011-12-02 | -0/+10 |
| | ||||
* | GnuTLS now also needs ssl_pending() implemented. Bug #860. | Wilmer van der Gaast | 2011-11-14 | -1/+4 |
| | ||||
* | Cleanup of http_client fix. Use g_strdup_printf and completely avoid strcat, | Wilmer van der Gaast | 2011-11-13 | -14/+21 |
| | | | | | truncate request if we switched from POST to GET. | |||
* | Undoing old workaround for MSN troubles and added more proper fix. The | Wilmer van der Gaast | 2011-11-12 | -4/+7 |
| | | | | | | http_client module needs some refactoring though. Will do that later.. This should hopefully fix bug #850. | |||
* | Send Connection: close headers so webservers won't try keepalive connections | Wilmer van der Gaast | 2011-04-18 | -0/+1 |
| | | | | | which http_client really can't deal with. | |||
* | Merging mainline. | Wilmer van der Gaast | 2010-07-17 | -4/+6 |
|\ | ||||
| * | No idea why http_dorequest() ever returned void*. Don't hide the type, it's | Wilmer van der Gaast | 2010-07-17 | -3/+4 |
| | | | | | | | | | | not a secret (the pointer is shared with a type later anyway). | |||
| * | Don't be a dumbass and stop following redirects if there doesn't seem to | Wilmer van der Gaast | 2010-07-16 | -1/+2 |
| | | | | | | | | | | be an end. | |||
* | | Make purple use BitlBee's event handling API. Since the APIs never really | Wilmer van der Gaast | 2009-10-11 | -3/+3 |
|/ | | | | | | | | | | diverged too much this is fairly transparent. I did rename and redefine GAIM_INPUT_* variables to really make it work without adding another stupid layer in between. One problem left, the new libpurple input API doesn't care about return values. Fixing that in the next CL. | |||
* | Fixed crappy memory management in http_client. | Wilmer van der Gaast | 2008-09-28 | -9/+10 |
| | ||||
* | Moving all generic files to lib/ instead of having some in / and some in | Wilmer van der Gaast | 2006-06-25 | -0/+453 |
protocols/, and adding RC4 code. |