summaryrefslogtreecommitdiff
path: root/src/libwaitress
AgeCommit message (Collapse)AuthorFilesLines
2013-09-08waitress: Move testcases to separate fileLars-Dominik Braun2-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-08waitress: Try all addresses returned by getaddrinfoLars-Dominik Braun1-32/+51
Fixes issue #384.
2013-05-08waitress: Close connection if body has been receivedLars-Dominik Braun2-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-31Ignore HTTP status 400Lars-Dominik Braun2-5/+13
Workaround for #355, fixes commit 2c516503d2cb81dd156afc24677ac4bf3caefceb.
2012-12-01waitress: Add TLS fingerprint mismatch error codeLars-Dominik Braun2-17/+18
2012-11-30waitress: Fix chunked decoderLars-Dominik Braun2-45/+51
Closes #322.
2012-11-04New setting: Read RPC TLS portPierre Zurek2-1/+6
Useful for tuner-beta.savagebeast.com:8443. Closes #319.
2012-06-14waitress: Send TLS bye only if connect was successfulLars-Dominik Braun1-1/+3
2012-05-04waitress: Add missing includeLars-Dominik Braun1-0/+1
See #250.
2012-03-27Initialize fd correctly with -1Lars-Dominik Braun1-1/+4
Thanks to Perette Barella.
2012-01-10HTTP/1.1 compliant CONNECTLars-Dominik Braun1-1/+4
Host: is mandatory.
2011-12-24Avoid struct padding where possibleLars-Dominik Braun1-7/+14
Pointed out by -Wpadding. Does not decrease memory usage/binary size though.
2011-12-23Fix warnings found by -Wmissing-declarationsLars-Dominik Braun1-1/+1
2011-11-15waitress: Remove http fetch testLars-Dominik Braun1-11/+0
This was not meant to go public.
2011-11-13waitress: Check return code for proxy CONNECT writesLars-Dominik Braun1-3/+3
2011-11-13waitress: Move READ/WRITE_RET to the topLars-Dominik Braun1-13/+11
2011-11-13waitress: Fix ssize_t/size_t confusionLars-Dominik Braun2-8/+8
2011-11-13waitress: Use HTTP parser for proxy response parsingLars-Dominik Braun1-19/+39
2011-11-13waitress: Don’t use OrdinaryRead/Write directlyLars-Dominik Braun1-7/+8
2011-11-12waitress: Fix compiler warningsLars-Dominik Braun2-21/+35
2011-11-12waitress: Add proxy authorization support againMichał Cichoń1-2/+12
Original patch slightly adjusted.
2011-11-11waitress: Support GnuTLS <= 2.10.0Lars-Dominik Braun1-17/+10
Both, 1.x and 2.x are now supported. See issue #182.
2011-11-11waitress: Fingerprint checkLars-Dominik Braun2-31/+13
Reduces memory usage, protects against 0wned CA's and avoids ca-bundle confusion. Closes #175
2011-11-10waitress: Don't send full url to serverLars-Dominik Braun1-1/+1
We CONNECT to server through proxy and can use paths here. Closes #179
2011-11-10waitress: Use WAITRESS_HTTP_VERSIONLars-Dominik Braun1-2/+3
2011-11-10waitress: Remove unused return codeLars-Dominik Braun1-4/+0
2011-11-10Die if trust file load failsLars-Dominik Braun2-4/+13
2011-11-09TLS is not optional any moreLars-Dominik Braun2-32/+0
2011-11-09waitress: Poor man's proxy support for TLSLars-Dominik Braun1-0/+15
2011-11-09waitress: Don't initialize TLS if not requestedLars-Dominik Braun2-6/+11
The player does not need TLS. This saves a few bytes.
2011-11-09waitress: move credentials init to WaitressInitLars-Dominik Braun2-10/+19
Reusable.
2011-11-09waitress: Server certificate verificationLars-Dominik Braun1-0/+62
2011-11-09waitress: Initial TLS implementation (using gnutls)Lars-Dominik Braun2-55/+196
2011-11-09waitress: split WaitressFetchCall, part 3: readLars-Dominik Braun1-37/+46
2011-11-09waitress: split WaitressFetchCall, part 2: writeLars-Dominik Braun2-29/+47
Currently leaks memory...
2011-11-09waitress: split WaitressFetchCall, part 1: connectLars-Dominik Braun2-54/+61
2011-11-09waitress: merge remaining buffer push into loopLars-Dominik Braun1-25/+8
2011-11-09waitress: document assumptions with assert statementsLars-Dominik Braun1-0/+51
2011-11-09waitress: const correctnessLars-Dominik Braun2-6/+6
2011-11-09waitress: muke sure chunked handler reads \r\nLars-Dominik Braun1-2/+6
2011-11-09waitress: fix chunked handler return valuesLars-Dominik Braun1-4/+11
2011-11-09waitress: header keys/values are case-insensitiveLars-Dominik Braun1-4/+6
2011-11-09waitress: handler return valuesLars-Dominik Braun2-16/+50
2011-11-09waitress: enable http 1.1Lars-Dominik Braun1-2/+3
2011-11-09waitress: support chunked encodingLars-Dominik Braun2-39/+95
as requested by rfc 2616
2011-11-09waitress: streq already definedLars-Dominik Braun1-2/+0
2011-11-09waitress: update comment (buffer is \0-terminated)Lars-Dominik Braun1-2/+4
2011-11-09waitress: rename variableLars-Dominik Braun1-11/+11
2011-11-09waitress: avoid expensive/unnecessary memsetLars-Dominik Braun1-1/+1
2011-11-09waitress: getline functionLars-Dominik Braun1-9/+24