Age | Commit message (Collapse) | Author |
|
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.
|
|
Per extend/gun#22 we need to return body until server closes
connection when server doesn't specify content-length and
transfer-encoding
|
|
A linebreak was sometimes introduced in the middle of the request
body.
|
|
This happens because handle/2 is actually a loop.
|
|
|
|
|
|
This way the issue fixed by the previous commit won't happen again.
|
|
|
|
Thanks David Cartt for reporting it.
|
|
|
|
|
|
Support for HTTP/1.1 and compatibility with HTTP/1.0.
|