aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-04-28Gun 2.0.12.0.1Loïc Hoguin
2023-03-29Update Cowlib to 2.12.1Loïc Hoguin
2023-01-23Update version to 2.0.02.0.0Loïc Hoguin
2023-01-23Update READMELoïc Hoguin
2023-01-23Update public domain suffix listLoïc Hoguin
2023-01-23Update copyright lines in preparation for releaseLoïc Hoguin
2023-01-23Update the migration guide for 2.0Loïc Hoguin
2023-01-23Fix intermittent error in stream_info_http testLoïc Hoguin
2023-01-23Selective receive in test to avoid receiving wrong messageLoïc Hoguin
2023-01-23Linger a little at the end of a shutdown test connectionLoïc Hoguin
This is to avoid the TCP close eating data.
2023-01-23Increase times by factor 10 to fix timing issueViktor Söderqvist
2023-01-16Use Cowlib 2.12.0Loïc Hoguin
2023-01-09Tweak some test outputsLoïc Hoguin
2023-01-09Skip degraded configuration test on WindowsLoïc Hoguin
2022-12-12macOS: Error out on eaddrnotavail instead of retryingLoïc Hoguin
This is to avoid reconnecting forever in a loop on bad configuration (such as IP in a different subnet).
2022-12-06Add keepalive_tolerance http2 optionViktor 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-05Add tests for ws subprotocol negotiationViktor Söderqvist
2022-12-05Document Websocket subprotocol negotiationLoïc Hoguin
2022-11-21Don't infinite loop gun_pool on bad configurationLoï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-21Support positive HTTP/1.0 responses to CONNECT requestsLoïc Hoguin
2022-11-21Enable send timeouts by defaultLoï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-14Implement gun_raw:down/1, gun_raw:update_flow/4Denys 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-08Include Websocket StreamRef in gun_down messagesWei Huang
2022-10-24Cookies: default SameSite is now "Default", not "None"Loïc Hoguin
2022-10-24Also flush gun_tunnel_upLed
2022-10-24Handle send errorsViktor Söderqvist
2022-10-11Update tests for OTP-25+Loïc Hoguin
2022-10-11Make many gun_http2 functions return state or error tupleViktor Söderqvist
The following functions used to return a state, but now return {state, State} or {error, Reason}: * frame/5 * update_window/1,2 * maybe_ack_or_notify/2 * reset_stream/3 * push_promise_frame/7 * goaway/2 * maybe_send_data/6 * send_data/4 * send_data/6 * send_data_frame/4 Dialyzer will temporarily fail until functions start to return error tuples.
2022-09-19Handle of HTTP/2 tunnel errorsLoïc Hoguin
2022-09-12Silence certs related ssl warnings in test suitesLoïc Hoguin
2022-09-12Add close/1 to gun_tls_proxy_cb to avoid undef crashesLoïc Hoguin
2022-09-12Update cookie tests against latest WPTLoïc Hoguin
The http-state tests were removed and replaced with tests in HTML pages. I have devised a way to semi- automatically import them and test them. Additional fixes were made following changes in the rfc6265bis draft.
2022-08-30Add tests for the SSE handlerBenedikt Reinartz
2022-08-30Ignore parameters for text/event-streamBenedikt Reinartz
2022-08-30Make Protocol:init/4 return an ok-tupleViktor Söderqvist
This is a preparation for allowing init/4 to return an ok or an error tuple.
2022-03-08Add a test for HTTP/2 empty DATA frame with fin setLoïc Hoguin
2022-03-08Handle any zero-sized Data in http:data with finMartin Björklund
Amended to make the test case hit the problem.
2022-03-08Don't add default SNI if already setJohan Bevemyr
2022-03-08Add tests for SNILoïc Hoguin
2022-03-08gun_pool Dialyzer fixesSergei Shuvatov
2022-03-08Fix flushing by stream referenceSergei Shuvatov
2022-03-08Make the stream_error_* functions return 'ok'Viktor Söderqvist
This will make it more obvious what callbacks return.
2022-03-08Return commands instead of state in remaining callbacksViktor Söderqvist
2021-05-24Gun 2.0.0-rc.22.0.0-rc.2Loïc Hoguin
2021-02-12Temporarily depend on Cowlib masterLoïc Hoguin
Because we depend on Cowboy master for tests we also need the more recent Cowlib commits otherwise some tests will fail.
2021-02-10Depend on Ranch 2.0.0 for compatibility with OTP-24Loïc Hoguin
2021-02-09Fix gun_pool:stop_pool/2,3 with default portLoïc Hoguin
2021-02-08No longer use ssl:ssl_accept/2Loïc Hoguin
2021-02-08Fix type that breaks gun_pool compilationLoïc Hoguin
2021-02-08Fix a typo in migrating_from_1.3.asciidocErlend Hamberg