aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_http.erl
AgeCommit message (Collapse)Author
2015-03-12Add initial Websocket supportLoïc Hoguin
All autobahntestsuite tests pass including the permessage-deflate compression tests. Some of the tests pass in a non-strict fashion. They are testing for protocol errors and expect events to happen in a particular order, which is not respected by Gun. Gun fails earlier than is expected due to concurrent processing of frames. The implementation when error occurs during handshake is probably a bit rough at this point. The documentation is also incomplete and/or wrong at this time, though this is the general state of the Gun documentation and will be resolved in a separate commit.
2014-10-26Return body when content-length not specifiedUnix1
Per extend/gun#22 we need to return body until server closes connection when server doesn't specify content-length and transfer-encoding
2014-07-14Fix bug with HTTP and keepaliveLoïc Hoguin
A linebreak was sometimes introduced in the middle of the request body.
2014-06-10Don't close the connection on empty data in cow_http:handle/2Loïc Hoguin
This happens because handle/2 is actually a loop.
2014-06-10Update transfer encoding code to current cowlib interfaceLoïc Hoguin
2014-06-09close when handling response with no streams for extend/gun#15Unix1
2014-05-01Use cow_http_te for creating chunksLoïc Hoguin
This way the issue fixed by the previous commit won't happen again.
2014-04-30Fix chunked transfer-encoding for HTTP/1.1Loïc Hoguin
2014-03-25Fix handling of fin in gun_httpLoïc Hoguin
Thanks David Cartt for reporting it.
2014-03-23Fix a bug where the buffer was dropped in one chunked decoding caseLoïc Hoguin
2014-03-21Improve the HTTP/1.1 and HTTP/1.0 supportLoïc Hoguin
2014-03-10Add gun_httpLoïc Hoguin
Support for HTTP/1.1 and compatibility with HTTP/1.0.