Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-13 | Add the disconnect event callback | Loïc Hoguin | |
2019-05-08 | Add event_handler with init/connect_start/connect_end | Loïc Hoguin | |
2019-05-08 | Don't run the autobahn test suite by default | Loïc Hoguin | |
2019-04-26 | Add upgrade/ws tuples to gun:await/2,3,4 | Loïc Hoguin | |
2019-04-26 | Add specs to await functions, document error type better | Loïc Hoguin | |
2019-04-26 | Distinguish between error types in await functions | Loïc Hoguin | |
2019-04-26 | Rename owner_gone into owner_down | Loïc Hoguin | |
2019-04-26 | Document ssl's session_lifetime/session_cache_clients_max | Loïc Hoguin | |
2019-04-26 | Add the supervise option to start without supervisor | Loïc Hoguin | |
2019-04-26 | No longer error out when the owner exits | Loïc Hoguin | |
No need to have the error repeated in the logs by the Gun process. | |||
2019-04-25 | Document an issue with OTP-20.3 on Windows | Loïc Hoguin | |
2019-04-25 | Fix failures resulting from connect error delays on Windows | Loïc Hoguin | |
On Windows when the connection is refused the OS will retry 3 times before giving up, with a 500ms delay between tries. This adds approximately 1 second to connection failures. | |||
2019-04-25 | Fix Websocket upgrade host header when it's an IP address | Sergey Tupchiy | |
2019-04-25 | Remove explicit call to dbg:start/0 | Alexander Mihajlovic | |
This fixes a bug in `gun` when trying to open 2 connections with tracing enabled. You can recreate it like so: > application:ensure_all_started(gun). > gun:open("localhost", 80, #{trace => true}). > gun:open("localhost", 80, #{trace => true}). The second call fails with a cause clause exception. You'll observe the same exception by: > dbg:start(). > dbg:start(). Ultimately this may be a bug in OTP, but since `dbg:start/0` is undocumented I'm inclined to give it the benefit of the doubt. Regardless, since the docs[1] clearly state that calling `dbg:tracer/0` is the proper way to start the default tracer message receiver, I argue that calling `dbg:start/0` is a bug in `gun`. [1]: http://erlang.org/doc/man/dbg.html | |||
2019-04-24 | Fix Dialyzer warnings | Loïc Hoguin | |
2019-04-24 | Prevent ssl:setopts from blocking gun_tls_proxy | Loïc Hoguin | |
2019-04-22 | Use ssl:ssl_accept/2 in tests to support OTP 20+ | Loïc Hoguin | |
ssl:handshake/2 was introduced in OTP 21. | |||
2019-04-22 | Add origin_scheme checks to tests | Loïc Hoguin | |
2019-04-22 | Make gun_tls_proxy work for HTTP/2 connections | Loïc Hoguin | |
2019-04-22 | Fix two tests that write to the Gun state directly | Loïc Hoguin | |
2019-04-22 | Make gun_tls_proxy a gen_statem | Loïc Hoguin | |
There is now a not_connected state that is used to postpone events that can't be processed when the proxy socket is not ready. | |||
2019-04-19 | Integrate gun_tls_proxy into gun proper | Loïc Hoguin | |
Still need to add ALPN support and to wait before trying to send data on a proxied TLS connection that didn't complete its handshake. | |||
2019-03-25 | Add the gun_tls_proxy transport for TLS over TLS support | Loïc Hoguin | |
2019-01-10 | Fix init_per_suite return value for skipping | Loïc Hoguin | |
2019-01-10 | Use a different method for ignoring h2specd build errors | Loïc Hoguin | |
2019-01-10 | Don't fail in previous h2specd steps either | Loïc Hoguin | |
2019-01-10 | Don't fail tests if we can't build h2specd | Loïc Hoguin | |
2019-01-10 | Skip h2specd_SUITE if h2specd doesn't exist | Loïc Hoguin | |
Better skip than fail when a distribution has a too old Go. | |||
2019-01-10 | Tweak another timeout | Loïc Hoguin | |
2019-01-10 | Tweak more test timeouts | Loïc Hoguin | |
2019-01-10 | Update Erlang.mk | Loïc Hoguin | |
2019-01-10 | Tweak timeouts to fix intermittent failures | Loïc Hoguin | |
2019-01-09 | Improve documentation about gun:headers/4,5 | Loïc Hoguin | |
2019-01-09 | Add function gun:stream_info/2 | Loïc Hoguin | |
2019-01-06 | Lowercase header names automatically and accept more types | Loïc Hoguin | |
Header names can now be provided as binary, string or atom and Gun no longer requires them to be in lowercase. The list of headers can also be provided as a map as well. | |||
2019-01-06 | Don't output unrelated errors in successful tests | Loïc Hoguin | |
We need to close the Gun connection to avoid owner_gone errors. | |||
2019-01-06 | Add a timeout to prevent an intermittent failure | Loïc Hoguin | |
2019-01-06 | Fix KilledStreams value for HTTP for connection: close responses | Loïc Hoguin | |
2019-01-06 | Increase the connect_h2 test delay | Loïc Hoguin | |
When it's testing h2 it has to do both ssl and h2 handshakes and that can take a while. | |||
2019-01-05 | Fix atom hostnames | Loïc Hoguin | |
2019-01-05 | Fix transfer-encoding precedence over content-length | Loïc Hoguin | |
2019-01-05 | Clarify option errors in the manual for gun:open/open_unix | Loïc Hoguin | |
Also fix an http into http2 for one option. | |||
2019-01-05 | Don't send empty data chunks | Loïc Hoguin | |
This was a bug in the case of HTTP/1.1 and an inconvenience in the case of HTTP/2. | |||
2019-01-05 | Ensure Gun retries connecting immediately | Loïc Hoguin | |
2019-01-03 | Update copyright years | Loïc Hoguin | |
2019-01-03 | Bump supported Erlang/OTP to 20.0+ | Loïc Hoguin | |
In particular the switch to gen_statem broke things with Erlang/OTP before 19.3. | |||
2019-01-03 | Consolidate origin server test helpers | Loïc Hoguin | |
Also fixes an issue with switch_transport introduced when converting the Gun process to gen_statem. | |||
2019-01-02 | Don't send the default port in the host header for HTTP/2 | Loïc Hoguin | |
2019-01-02 | Don't send the default port in the host header for HTTP/1.1 | Loïc Hoguin | |
2018-12-31 | Disable keepalive by default for HTTP/1.1 | Loïc Hoguin | |
This is safer as servers may reject too many extra empty lines. |