Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-21 | Few more tests and fixes | Loïc Hoguin | |
2020-09-21 | Replace gun_tunnel_up/3 message with /4 variant | Loïc Hoguin | |
Also fixes all the tests. Lots of work remain around protocols (how best to pass the base stream_ref to them? maybe the current solution, maybe a new argument to Protocol:init) and strengthen the concept of stream_ref, at least with its own type. | |||
2020-09-21 | Rename the 3-arity gun_socks_up to gun_tunnel_up | Loïc Hoguin | |
2020-09-21 | Add gun_tunnel_up message to HTTP/2 CONNECT | Loïc Hoguin | |
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 | Fix the gun_SUITE:shutdown_reason intermittent errors | Loïc Hoguin | |
Depending on timing the monitor may be applied after the Gun process has started and stopped. In that case we run the test again until timetrap_timeout. | |||
2020-04-16 | Tentatively fix a shutdown_SUITE intermittent error | Loïc Hoguin | |
2020-04-16 | Fix a fun not being called in gun_SUITE | Loïc Hoguin | |
2020-04-16 | Add tests for cookie_ignore_informational option | Loïc Hoguin | |
2020-03-28 | Make the stream_info tests more reliable | Loïc Hoguin | |
2020-03-28 | Improve the flow_SUITE:flow_ws test case | Loïc Hoguin | |
Make sure we don't queue too much on the socket because in that case Gun will just consume everything it's already got. | |||
2020-03-28 | Use gun_test:init_origin/3 in the gun_SUITE:reply_to_* tests | Loïc Hoguin | |
2020-03-28 | Make gun_SUITE:shutdown_reason test more reliable | 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 | Use timetrap instead of normal timeouts in shutdown_SUITE | Loïc Hoguin | |
2020-03-28 | In gun_SUITE shutdown_reason case, don't match in receive | Loïc Hoguin | |
Match inside the clause instead. This should make clearer the occasional failure. | |||
2020-03-27 | Use infinity timeout for gun:await in reply_to tests | Loïc Hoguin | |
2020-03-27 | Don't explictly wait for the message in reply_to tests | Loïc Hoguin | |
2020-03-27 | Split the gun_SUITE:reply_to test in two cases | Loïc Hoguin | |
To attempt to fix a timetrap_timeout issue occuring sometimes. I have little confidence about this fixing anything but it will not hurt either. | |||
2020-03-27 | Improve test timeout handling in gun_SUITE | Loïc Hoguin | |
Instead of timeouts, favor receiving events from the event handler gun_test_event_h. Remove most other timeouts in particular receive timeouts in favor of a Common Test timetrap timeout global to this test suite of 30 seconds. | |||
2020-03-26 | Don't make the rfc6265bis test giver time out | Loïc Hoguin | |
2020-03-26 | Fix IPv6 related changes to tests | Loïc Hoguin | |
Turns out we can't rely on IPv4 being available if we set the socket in IPv6 mode. Instead the origin is modified to either setup IPv4 or IPv6 depending on the test's needs. | |||
2020-03-25 | Fix host/:authority header when connecting to an IPv6 address | Loïc Hoguin | |
2020-03-23 | Tweak connection timeouts tests for Windows | Loïc Hoguin | |
It seems that the retry behavior changed recently. It would be better to retrieve the exact values and calculate how much time we want to wait but that will do for now. | |||
2020-03-23 | Fix flow control test since it's more strict now | Loïc Hoguin | |
2020-03-12 | Make Gun use the cookie store when configured to | Loïc Hoguin | |
2020-03-04 | Initial implementation of the gun_cookies cookie store | Loïc Hoguin | |
2020-02-27 | Use specific error when HTTP/2 receives HTTP/1 response | Loïc Hoguin | |
2020-02-27 | Add a test getting preface errors in the 'DOWN' reason | 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-10-08 | Fix retrying on disconnect with retry=1 | 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-22 | Account for Windows' 3-connect pattern in shutdown_SUITE | Loïc Hoguin | |
When Windows can't connect it retries 2 more times with 500ms wait in-between by default. | |||
2019-09-22 | Increase a timeout to avoid an intermittent test failure | Loïc Hoguin | |
I'm not exactly sure why it works but it seems to be solid now. I think the issue is around timeouts in the test and handler being too close to one another. |