Age | Commit message (Collapse) | Author |
|
|
|
|
|
One of the test is incomplete due to a missing window_update
building function in cowlib.
|
|
|
|
|
|
|
|
|
|
|
|
These new tests have the spdy_server send frames back.
|
|
|
|
The tests will be written against a robot server, spdy_server,
which parses and records all frames it receives. This robot
server can later be enhanced to perform actions at specific
times to send responses or simulate error conditions.
|
|
Also improves the code and documentation about this message.
It was incorrectly specified that a gun_ws_upgrade message
could be sent on error; instead a gun_response is sent.
|
|
Allow passing Websocket options through either open or ws_upgrade.
Document ws_upgrade/4.
|
|
|
|
|
|
|
|
|
|
The flush(Pid) function was enhanced to also discard Websocket
messages and the new up/down messages.
|
|
map:to_list -> maps:to_list
Only call maps:to_list once.
|
|
Fixes an issue introduced in the previous commit that broke
automatic reconnection.
Thanks to Adrian Roe/Steve Strong for the report.
|
|
The type option has been removed. The transport and protocols
options can be used in its place.
The transport_opts option can be used to specify transport
options.
The http_opts and spdy_opts options can be used to specify
protocol specific options.
The keepalive option is now a protocol specific option.
Defaults depending on the port number have changed. Now only
port 443 uses ssl by default, other ports use tcp.
|
|
|
|
|
|
The content-type and content-length alone indicate whether a
body is present for request/4.
The host header can now be overriden.
A number of headers like transfer-encoding are automatically
deleted from the list of headers we receive. SPDY also deletes
connection, keep-alive and proxy-connection.
SPDY now sends the port in the :host header.
|
|
Websocket options are a map.
|
|
|
|
A number of @todo also remain in this document.
The manual pages have been converted to Asciidoc and they
can be installed system-wide using make install-docs.
The asciidoc rules will be converted into an erlang.mk plugin
in the near future.
|
|
|
|
Should be simpler if the original stream reference is at the same
position in all messages.
|
|
A number of @todo remain in it and will be worked on shortly.
The guide has been converted to Asciidoc and 'make asciidoc'
will generate a PDF and a chunked HTML version.
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
Fixing simple copy-paste mistake.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|