Age | Commit message (Collapse) | Author | |
---|---|---|---|
2025-03-21 | Respect remote concurrency limit for headers/connect/ws_upgraderespect-remote-concurrency-limit | Loïc Hoguin | |
In order to simplify the implementation the CookieStore is given to the connect function now, even though it's not currently used. | |||
2025-03-18 | HTTP/2: Respect remote MAX_CONCURRENT_STREAMS | Viktor Söderqvist | |
If the limit has been reached, new requests are failed immediately, so that the application can retry them on a different connection. Co-authored-by: Björn Svensson <[email protected]> | |||
2025-02-27 | Do not ignore data received immediately after switching to raw | Denys Knertser | |
LH: Minor tweaks. | |||
2025-02-27 | Include event handler state in gun:info/1 result | Viktor Söderqvist | |
Adds event_handler and event_handler_state in the map returned by gun:info/1. Signed-off-by: Viktor Söderqvist <[email protected]> | |||
2025-02-26 | Add docs for notify_settings_changed in http2_opts() | Björn Svensson | |
LH: I have expanded and documented gun_notify in its own page. | |||
2025-02-26 | Allow specifying functions for reply_to | Viktor Söderqvist | |
LH: I have fixed types, extended tests and tweaked a bit. | |||
2025-02-25 | Improve graceful_shutdown_goaway_no_error test reliability | Loïc Hoguin | |
2025-02-25 | Send NO_ERROR in client-initiated graceful shutdown | Viktor Söderqvist | |
2025-02-25 | Add state_name field to gun:info/1 | Viktor Söderqvist | |
2025-01-13 | Increase the ping loop in send_errors_SUITE | Loïc Hoguin | |
2025-01-13 | Increase another send_errors timeout | Loïc Hoguin | |
2025-01-13 | Increase a send_errors test timeout | Loïc Hoguin | |
Depending on the environment the send buffer may not be configured as low as we want, so the test will take longer. | |||
2025-01-02 | HTTP/2: Fix tunneled streams bugs | Loïc Hoguin | |
* Tunneled streams can now close the stream. * Data received on tunneled streams now result in WINDOW_UPDATE frames being sent if necessary, and flow control is handled. This was detected as part of writing a new Cowboy test suite for benchmarking Websocket, but should help other uses too. | |||
2024-11-27 | Update Discord link to a permanent invite | Loïc Hoguin | |
2024-11-15 | Add Discord server to README | Loïc Hoguin | |
2024-11-08 | CI: Add concurrency rules | Loïc Hoguin | |
2024-11-08 | CI: Fix master build deletion | Loïc Hoguin | |
Some things likely changed and made it not work anymore. Also seems that the macOS runner is now ARM64. | |||
2024-11-06 | Fix a Dialyzer warning | Loïc Hoguin | |
2024-11-06 | Update Erlang.mk | Loïc Hoguin | |
2024-03-26 | Initial HTTP/3 implementationhttp3 | Loïc Hoguin | |
Since quicer, which provides the QUIC implementation, is a NIF, Gun cannot depend directly on it. In order to enable QUIC and HTTP/3, users have to set the GUN_QUICER environment variable: export GUN_QUICER=1 Gun is now tested using GitHub Actions. As a result OTP-24+ is now required. In addition, the number of OTP releases tested has been reduced; only the latest of each major version is now tested. This also updates Erlang.mk. | |||
2024-03-14 | Tweak user guide migration link | Loïc Hoguin | |
2024-03-14 | Gun 2.1.02.1.0 | Loïc Hoguin | |
2024-03-14 | Use public_key:cacerts_get/0 when possible | Loïc Hoguin | |
Also "fix" many TLS test failures due to yet more changes in the default options for TLS. Also small changes to make Dialyzer happy. | |||
2024-03-14 | Remove client_preferred_next_protocols | Viktor Söderqvist | |
2024-03-14 | Update Cowlib to 2.13.0 | Loïc Hoguin | |
2024-02-27 | Update Erlang.mk | Loïc Hoguin | |
2023-06-05 | Fix crash when TLS connection closes very early | Loïc Hoguin | |
And ensure that we don't infinite loop when retries are enabled, by decrementing the retry count instead of using a new one. Also check for ssl:negotiated_protocol {error,closed} which was possible but was not documented in OTP before this change. Thanks @voluntas for the help. | |||
2023-04-28 | Gun 2.0.12.0.1 | Loïc Hoguin | |
2023-03-29 | Update Cowlib to 2.12.1 | Loïc Hoguin | |
2023-01-23 | Update version to 2.0.02.0.0 | Loïc Hoguin | |
2023-01-23 | Update README | Loïc Hoguin | |
2023-01-23 | Update public domain suffix list | Loïc Hoguin | |
2023-01-23 | Update copyright lines in preparation for release | Loïc Hoguin | |
2023-01-23 | Update the migration guide for 2.0 | Loïc Hoguin | |
2023-01-23 | Fix intermittent error in stream_info_http test | Loïc Hoguin | |
2023-01-23 | Selective receive in test to avoid receiving wrong message | Loïc Hoguin | |
2023-01-23 | Linger a little at the end of a shutdown test connection | Loïc Hoguin | |
This is to avoid the TCP close eating data. | |||
2023-01-23 | Increase times by factor 10 to fix timing issue | Viktor Söderqvist | |
2023-01-16 | Use Cowlib 2.12.0 | Loïc Hoguin | |
2023-01-09 | Tweak some test outputs | Loïc Hoguin | |
2023-01-09 | Skip degraded configuration test on Windows | Loïc Hoguin | |
2022-12-12 | macOS: Error out on eaddrnotavail instead of retrying | Loïc Hoguin | |
This is to avoid reconnecting forever in a loop on bad configuration (such as IP in a different subnet). | |||
2022-12-06 | Add keepalive_tolerance http2 option | Viktor Söderqvist | |
The number of unacknowledged pings that can be tolerated before the connection is forcefully closed. When a keepalive ping is sent to the peer, a counter is incremented and if this counter exceeds the tolerance limit, the connection is forcefully closed. The counter is decremented whenever a ping ack is received from the peer. By default, the mechanism for closing the connection based on ping and ping ack is disabled. Loïc Hoguin: I have edited a lot of the code and renamed a few things as well as simplified the docs and increased test timeouts to avoid race conditions. | |||
2022-12-05 | Add tests for ws subprotocol negotiation | Viktor Söderqvist | |
2022-12-05 | Document Websocket subprotocol negotiation | Loïc Hoguin | |
2022-11-21 | Don't infinite loop gun_pool on bad configuration | Loïc Hoguin | |
We leave the pool in a degraded state if the configuration given is invalid and a lookup/connect can't be made. | |||
2022-11-21 | Support positive HTTP/1.0 responses to CONNECT requests | Loïc Hoguin | |
2022-11-21 | Enable send timeouts by default | Loïc Hoguin | |
When no TCP options are provided, Gun will enable send timeouts at 15s. The value was chosen large enough to be safe while still allowing Gun to detect send errors eventually. Different applications may need to tweak and lower this value. | |||
2022-11-14 | Implement gun_raw:down/1, gun_raw:update_flow/4 | Denys Knertser | |
Loïc: I have reworded a couple things and reordered the tests. It would be great to also test these things over proxies. | |||
2022-11-08 | Include Websocket StreamRef in gun_down messages | Wei Huang | |