Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-21 | First working HTTPS over secure HTTP/2 | Loïc Hoguin | |
Has a timer:sleep/1 though because there is currently no way to wait for the TLS handshake to complete. | |||
2020-09-21 | Make gun_socks_up stream-specific for HTTP/2 CONNECT | Loïc Hoguin | |
2020-09-21 | Make HTTP/2 CONNECT to a SOCKS server work | Loïc Hoguin | |
2020-09-21 | Add HTTP/2 CONNECT tests with Cowboy as origin | Loïc Hoguin | |
2020-09-21 | Add the base_stream_ref to gun_http/gun_http2 | Loïc Hoguin | |
2020-09-21 | HTTP/2 over HTTP/2 CONNECT | Loïc Hoguin | |
2020-09-21 | Improve HTTP/2 CONNECT to non-HTTP origin | Loïc Hoguin | |
Now has a proper StreamRef given to it by the CONNECT stream. | |||
2020-09-21 | Make gun:stream_info/2 return intermediaries for HTTP/2 CONNECT | Loïc Hoguin | |
2020-09-21 | Initial HTTP/2 CONNECT implementation | Loïc Hoguin | |
2020-04-20 | Update the WPT cookie tests | Loïc Hoguin | |
2020-04-16 | Empty the commands queue when returning | Loïc Hoguin | |
2020-04-16 | Add tests for cookie_ignore_informational option | Loïc Hoguin | |
2020-03-28 | Fix a Dialyzer warning introduced in the previous commit | Loïc Hoguin | |
2020-03-28 | Make intermediaries return tls not tls_proxy | Loïc Hoguin | |
Also add a test for CONNECT to TLS via 2 TLS proxies. | |||
2020-03-28 | Disable the gun_tls_proxy EUnit tests | Loïc Hoguin | |
There are better counterparts in the rfc7231_SUITE. | |||
2020-03-27 | Increase the gun_tls_proxy tests timeout | Loïc Hoguin | |
2020-03-27 | Fix time related intermittent error in gun_cookies:gc_test | Loïc Hoguin | |
If we set Max-Age to 1 we may end up GCing the cookie immediately. Instead we set it to 2 and increase all time values by 1 second. | |||
2020-03-25 | Fix host/:authority header when connecting to an IPv6 address | Loïc Hoguin | |
2020-03-25 | Fix crash in gun:info/1 when socket is closed | Loïc Hoguin | |
The call to Transport:sockname/1 can return an error if the socket was closed as we were gathering info. In that case we simply do not fill in the address and port information. | |||
2020-03-19 | Fix gun_public_suffix compile problem | Loïc Hoguin | |
There's no need to have idna listed in ALL_DEPS_DIR we only use it for "make gen" which does not require it. | |||
2020-03-15 | Document the cookie store option and related modules | Loïc Hoguin | |
Also contains a few small changes and Dialyzer fixes. | |||
2020-03-12 | Make Gun use the cookie store when configured to | Loïc Hoguin | |
2020-03-06 | Add additional cookie expiration tests | Loïc Hoguin | |
2020-03-05 | Implement gun_cookies:gc/1 and :session_gc/1 | Loïc Hoguin | |
2020-03-05 | Add the public suffix check to set_cookie | Loïc Hoguin | |
2020-03-04 | Initial implementation of the gun_cookies cookie store | Loïc Hoguin | |
2020-02-27 | Remove two unnecessary clauses | Loïc Hoguin | |
As reported by Dialyzer. | |||
2020-02-27 | Use specific error when HTTP/2 receives HTTP/1 response | Loïc Hoguin | |
2020-02-27 | Detect invalid HTTP/2 preface errors | Loïc Hoguin | |
And make sure all HTTP/2 connection_error(s) result in a gun_down message containing the error. In the preface case we do not send a gun_error message (because there's no stream open yet) and gun_down was always saying normal. Also make sure the human readable reason is included in the gun_error message, if any. | |||
2020-02-10 | Handle cow_http2_machine timeouts | Loïc Hoguin | |
2019-11-04 | Fix a crash introduced in the previous commit | Loïc Hoguin | |
2019-10-17 | Use maps for looking up HTTP/2 streams | Loïc Hoguin | |
This should be much faster than using lists:keyfind and friends. This matters for connections that have a lot of concurrent streams. | |||
2019-10-08 | Fix retrying on disconnect with retry=1 | Loïc Hoguin | |
2019-10-01 | Cowlib no longer returns lingering_data tuples | Loïc Hoguin | |
2019-10-01 | Don't try upgrading 101 responses with no/bad Upgrade header | Loïc Hoguin | |
Also rework the different handle_head scenarios in separate functions. | |||
2019-09-26 | Document the cow_http2_machine options | Loïc Hoguin | |
The details are not given for now. The best would be to document them in Cowlib and refer to that documentation instead of duplicating the information in both the Gun and Cowboy manuals. | |||
2019-09-26 | Don't send duplicate gun_error messages to the same process | Loïc Hoguin | |
2019-09-26 | Remove UnprocessedStreams from the gun_down message | Loïc Hoguin | |
2019-09-26 | Add reply_to option to ws_upgrade; remove notowner entirely | Loïc Hoguin | |
The reply_to option is also propagated when we switch protocols. | |||
2019-09-26 | Add a function to change the connection owner | Loïc Hoguin | |
While at it the gun:info/1 function has been fixed to work even when we are in the not_connected state, and the owner is now also returned. | |||
2019-09-24 | Add auto-ping to Websocket and a silence_pings option | Loïc Hoguin | |
The auto-ping will at regular interval send a ping frame. The silence_pings option defaults to true. It can be set to false when the user needs to receive ping/pong frames. | |||
2019-09-24 | Reject requests/data when using Websocket | Loïc Hoguin | |
2019-09-24 | Initial support for raw send/recv operations | Loïc Hoguin | |
Gun can now be used to send or receive arbitrary data in the following scenarios: * Directly after connecting to a server (this is not terribly useful but it works nevertheless due to the Gun architecture) * After connecting through one or more Socks and/or HTTP proxies. This allows using Gun's proxy capabilities to access servers located beyond firewalls. * After performing an HTTP/1.1 Upgrade. This allows using Gun to implement custom protocols that require upgrading from an HTTP/1.1 connection. As there is still no support for HTTP/2 CONNECT for the time being, there are no relevant streams attached to those use cases and therefore the raw protocol currently expects users to use 'undefined' as the StreamRef value. This is not a final decision and will most likely produce a Dialyzer warning at this time. | |||
2019-09-23 | Properly error out on HTTP/1.0 Websocket upgrade attempts | Loïc Hoguin | |
2019-09-23 | Set server_name_indication for TLS handshakes | Loïc Hoguin | |
This essentially reverts to the old behavior for initial TLS handshakes, and improves TLS support for the Socks/HTTP proxy cases. | |||
2019-09-23 | Use the proper options type for socks/ws states | Loïc Hoguin | |
2019-09-23 | Accept all cow_http2_machine options | Loïc Hoguin | |
2019-09-23 | Reduce the #http_state size | Loïc Hoguin | |
The version is still kept in the state even if it's an option because it's useful to have there and it's just a tiny atom. | |||
2019-09-23 | Remove 'protocol' option from connect_destination() | Loïc Hoguin | |
It was deprecated and replaced by 'protocols' in a previous version. | |||
2019-09-22 | Cancel the existing keepalive when switching protocols | Loïc Hoguin | |