Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-04-06 | Switch back to libcurl | Lars-Dominik Braun | 4 | -1520/+0 | |
Drops libwaitress. Adds the new dependency libcurl and drops gnutls. I wouldn’t say writing my own HTTP library was a mistake – it was not and the experience gained was worth it. Instead I have to acknowledge that libcurl is just better than my own implementation. Sure, it does a lot more than HTTP – one could call that bloat. Yet if you just want to get the job done™ reusing code is the way to go. See #512 and #513. | |||||
2014-05-25 | waitress: Improve getaddr error message | Lars-Dominik Braun | 1 | -1/+1 | |
2014-04-22 | Fix include guards | Lars-Dominik Braun | 1 | -3/+3 | |
Macros starting with _ are reserved (see http://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html). Fixes #440. | |||||
2014-04-18 | waitress: Use standard socket buffer size | Lars-Dominik Braun | 1 | -5/+0 | |
libav* uses its own HTTP implementation and the API calls do not benefit from it anyway. | |||||
2014-04-04 | Send headers in first packet. | Kenny MacDermid | 1 | -9/+6 | |
Splitting up the writes causes the Host header to end up in a different packet than the requst line, making it harder to proxy. | |||||
2014-04-04 | Send the server_name extension. | Kenny MacDermid | 1 | -0/+4 | |
Required by sniproxy when forwarding the connection. | |||||
2014-03-14 | waitress: Increase kernel receive buffer | Lars-Dominik Braun | 1 | -1/+1 | |
Suggested in #426. Should be large enough for a complete song now (if permitted by sysctl). The correct solution™ would be a buffer in userspace though. | |||||
2013-09-08 | waitress: Move testcases to separate file | Lars-Dominik Braun | 2 | -120/+143 | |
Now the test-enabled waitress.o does not conflict with pianobar’s waitress.o any more, thus running `make test` without `make clean` works fine. | |||||
2013-08-08 | waitress: Try all addresses returned by getaddrinfo | Lars-Dominik Braun | 1 | -32/+51 | |
Fixes issue #384. | |||||
2013-05-08 | waitress: Close connection if body has been received | Lars-Dominik Braun | 2 | -0/+9 | |
Now libwaitress won’t wait until the server closes the connection if the request body has been received. Multiple requests per connection are not supported anyway. Fixes #321. Thanks to Michael Stowe. | |||||
2013-03-31 | Ignore HTTP status 400 | Lars-Dominik Braun | 2 | -5/+13 | |
Workaround for #355, fixes commit 2c516503d2cb81dd156afc24677ac4bf3caefceb. | |||||
2012-12-01 | waitress: Add TLS fingerprint mismatch error code | Lars-Dominik Braun | 2 | -17/+18 | |
2012-11-30 | waitress: Fix chunked decoder | Lars-Dominik Braun | 2 | -45/+51 | |
Closes #322. | |||||
2012-11-04 | New setting: Read RPC TLS port | Pierre Zurek | 2 | -1/+6 | |
Useful for tuner-beta.savagebeast.com:8443. Closes #319. | |||||
2012-06-14 | waitress: Send TLS bye only if connect was successful | Lars-Dominik Braun | 1 | -1/+3 | |
2012-05-04 | waitress: Add missing include | Lars-Dominik Braun | 1 | -0/+1 | |
See #250. | |||||
2012-03-27 | Initialize fd correctly with -1 | Lars-Dominik Braun | 1 | -1/+4 | |
Thanks to Perette Barella. | |||||
2012-01-10 | HTTP/1.1 compliant CONNECT | Lars-Dominik Braun | 1 | -1/+4 | |
Host: is mandatory. | |||||
2011-12-24 | Avoid struct padding where possible | Lars-Dominik Braun | 1 | -7/+14 | |
Pointed out by -Wpadding. Does not decrease memory usage/binary size though. | |||||
2011-12-23 | Fix warnings found by -Wmissing-declarations | Lars-Dominik Braun | 1 | -1/+1 | |
2011-11-15 | waitress: Remove http fetch test | Lars-Dominik Braun | 1 | -11/+0 | |
This was not meant to go public. | |||||
2011-11-13 | waitress: Check return code for proxy CONNECT writes | Lars-Dominik Braun | 1 | -3/+3 | |
2011-11-13 | waitress: Move READ/WRITE_RET to the top | Lars-Dominik Braun | 1 | -13/+11 | |
2011-11-13 | waitress: Fix ssize_t/size_t confusion | Lars-Dominik Braun | 2 | -8/+8 | |
2011-11-13 | waitress: Use HTTP parser for proxy response parsing | Lars-Dominik Braun | 1 | -19/+39 | |
2011-11-13 | waitress: Don’t use OrdinaryRead/Write directly | Lars-Dominik Braun | 1 | -7/+8 | |
2011-11-12 | waitress: Fix compiler warnings | Lars-Dominik Braun | 2 | -21/+35 | |
2011-11-12 | waitress: Add proxy authorization support again | Michał Cichoń | 1 | -2/+12 | |
Original patch slightly adjusted. | |||||
2011-11-11 | waitress: Support GnuTLS <= 2.10.0 | Lars-Dominik Braun | 1 | -17/+10 | |
Both, 1.x and 2.x are now supported. See issue #182. | |||||
2011-11-11 | waitress: Fingerprint check | Lars-Dominik Braun | 2 | -31/+13 | |
Reduces memory usage, protects against 0wned CA's and avoids ca-bundle confusion. Closes #175 | |||||
2011-11-10 | waitress: Don't send full url to server | Lars-Dominik Braun | 1 | -1/+1 | |
We CONNECT to server through proxy and can use paths here. Closes #179 | |||||
2011-11-10 | waitress: Use WAITRESS_HTTP_VERSION | Lars-Dominik Braun | 1 | -2/+3 | |
2011-11-10 | waitress: Remove unused return code | Lars-Dominik Braun | 1 | -4/+0 | |
2011-11-10 | Die if trust file load fails | Lars-Dominik Braun | 2 | -4/+13 | |
2011-11-09 | TLS is not optional any more | Lars-Dominik Braun | 2 | -32/+0 | |
2011-11-09 | waitress: Poor man's proxy support for TLS | Lars-Dominik Braun | 1 | -0/+15 | |
2011-11-09 | waitress: Don't initialize TLS if not requested | Lars-Dominik Braun | 2 | -6/+11 | |
The player does not need TLS. This saves a few bytes. | |||||
2011-11-09 | waitress: move credentials init to WaitressInit | Lars-Dominik Braun | 2 | -10/+19 | |
Reusable. | |||||
2011-11-09 | waitress: Server certificate verification | Lars-Dominik Braun | 1 | -0/+62 | |
2011-11-09 | waitress: Initial TLS implementation (using gnutls) | Lars-Dominik Braun | 2 | -55/+196 | |
2011-11-09 | waitress: split WaitressFetchCall, part 3: read | Lars-Dominik Braun | 1 | -37/+46 | |
2011-11-09 | waitress: split WaitressFetchCall, part 2: write | Lars-Dominik Braun | 2 | -29/+47 | |
Currently leaks memory... | |||||
2011-11-09 | waitress: split WaitressFetchCall, part 1: connect | Lars-Dominik Braun | 2 | -54/+61 | |
2011-11-09 | waitress: merge remaining buffer push into loop | Lars-Dominik Braun | 1 | -25/+8 | |
2011-11-09 | waitress: document assumptions with assert statements | Lars-Dominik Braun | 1 | -0/+51 | |
2011-11-09 | waitress: const correctness | Lars-Dominik Braun | 2 | -6/+6 | |
2011-11-09 | waitress: muke sure chunked handler reads \r\n | Lars-Dominik Braun | 1 | -2/+6 | |
2011-11-09 | waitress: fix chunked handler return values | Lars-Dominik Braun | 1 | -4/+11 | |
2011-11-09 | waitress: header keys/values are case-insensitive | Lars-Dominik Braun | 1 | -4/+6 | |
2011-11-09 | waitress: handler return values | Lars-Dominik Braun | 2 | -16/+50 | |