Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-04-26 | Use the host header value for authority in h2, if any | Loïc Hoguin | |
2017-01-02 | Fix sending of data > 16384 with HTTP/21.0.0-pre.2 | Loïc Hoguin | |
2017-01-02 | Implement HTTP/2 server push | Loïc Hoguin | |
2017-01-02 | Fix sending of body as iodata() with HTTP | Loïc Hoguin | |
2016-11-16 | Update Erlang.mk and related changes | Loïc Hoguin | |
2016-06-28 | Properly handle HTTP/1.1 HEAD requests | Loïc Hoguin | |
No response body is expected from now on. | |||
2016-06-20 | Send proper scheme for HTTP/2 | Loïc Hoguin | |
Clear connections send "http" and TLS connections "https". | |||
2016-06-08 | Merge branch 'fix_badarg_on_ping' of https://github.com/philipstears/gun | Loïc Hoguin | |
2016-06-06 | Fix badarg in http/2 ping generation | Philip Stears | |
2016-06-06 | gun_http2 erroneously using cow_spdy. | Philip Stears | |
2016-06-06 | Handle RST_STREAM in HTTP/2 protocol | Loïc Hoguin | |
2016-05-27 | Initial HTTP/2 support | Loïc Hoguin | |
A number of things are not implemented, but this is enough to connect to Twitter and get a response sent back. It also currently doesn't have tests. | |||
2015-08-17 | Fix compilation issue | Loïc Hoguin | |
Oops! | |||
2015-08-17 | Fix ssl:negotiated_next_protocol/1 is deprecated. | Maxim Krentovskiy | |
2015-08-16 | Handle 204 responses properly | Loïc Hoguin | |
Thanks @petrohi for the initial patch. | |||
2015-08-16 | Include user headers in HTTP/1 requests | Loïc Hoguin | |
Oops! Thanks everyone who reported/submitted patches. | |||
2015-05-05 | Update to 1.0.0-pre.11.0.0-pre.1 | Loïc Hoguin | |
2015-05-03 | Add a missing Transfer-Encoding: chunked header in HTTP | Loïc Hoguin | |
When we stream content we need to set this header manually from Gun. | |||
2015-04-12 | Add a SPDY test and improve a few badstate messages | Loïc Hoguin | |
2015-04-10 | Add headers to gun_ws_upgrade message | Loïc Hoguin | |
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. | |||
2015-04-10 | Add Websocket options | Loïc Hoguin | |
Allow passing Websocket options through either open or ws_upgrade. Document ws_upgrade/4. | |||
2015-04-10 | Make Dialyzer happy | Loïc Hoguin | |
2015-04-10 | Add functions await_up/{1,2,3} for sync open | Loïc Hoguin | |
2015-04-09 | Add gun_up and gun_down messages | Loïc Hoguin | |
The flush(Pid) function was enhanced to also discard Websocket messages and the new up/down messages. | |||
2015-04-09 | Fix checking of protocol options | Loïc Hoguin | |
map:to_list -> maps:to_list Only call maps:to_list once. | |||
2015-04-09 | Don't clear out the transport on connection retry | Loïc Hoguin | |
Fixes an issue introduced in the previous commit that broke automatic reconnection. Thanks to Adrian Roe/Steve Strong for the report. | |||
2015-04-08 | Use maps for and improve options | Loïc Hoguin | |
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. | |||
2015-03-30 | Merge branch 'fix-body-no-contentlength' of https://github.com/unix1/gun | Loïc Hoguin | |
2015-03-29 | Improve request code | Loïc Hoguin | |
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. | |||
2015-03-29 | Fixes badarg when using gun:ws_upgrade/{2,3} | Loïc Hoguin | |
Websocket options are a map. | |||
2015-03-25 | Fix an undef crash with SPDY | Loïc Hoguin | |
2015-03-25 | Fix the order of stream references in gun_push message | Loïc Hoguin | |
Should be simpler if the original stream reference is at the same position in all messages. | |||
2015-03-12 | Update copyright years | Loïc Hoguin | |
2015-03-12 | Add initial Websocket support | Loï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-26 | Return body when content-length not specified | Unix1 | |
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-14 | Fix bug with HTTP and keepalive | Loïc Hoguin | |
A linebreak was sometimes introduced in the middle of the request body. | |||
2014-06-10 | Don't close the connection on empty data in cow_http:handle/2 | Loïc Hoguin | |
This happens because handle/2 is actually a loop. | |||
2014-06-10 | Update transfer encoding code to current cowlib interface | Loïc Hoguin | |
2014-06-09 | Merge branch 'fix-keepalive-response' of git://github.com/unix1/gun | Loïc Hoguin | |
2014-06-09 | close when handling response with no streams for extend/gun#15 | Unix1 | |
2014-06-08 | continue after unexpected message for extend/gun#19 | Unix1 | |
2014-06-08 | handle messages from previous socket for extend/gun#19 | Unix1 | |
2014-06-06 | Merge branch 'fix-keepalive-schedule' of git://github.com/unix1/gun | Loïc Hoguin | |
2014-06-06 | cancel keepalive on retry per extend/gun#16 | Unix1 | |
2014-06-03 | Make sure the host value is of the correct type in open | Loïc Hoguin | |
2014-05-01 | Use cow_http_te for creating chunks | Loïc Hoguin | |
This way the issue fixed by the previous commit won't happen again. | |||
2014-04-30 | Fix chunked transfer-encoding for HTTP/1.1 | Loïc Hoguin | |
2014-04-29 | Add cowlib in the .app deps for release inclusion | Loïc Hoguin | |
2014-03-26 | Default to TCP if port 80 is given, otherwise SSL | Loïc Hoguin | |
2014-03-25 | Automatically calculate the content-length when possible in SPDY | Loïc Hoguin | |