aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-04-22Make gun_tls_proxy work for HTTP/2 connectionsLoïc Hoguin
2019-04-22Fix two tests that write to the Gun state directlyLoïc Hoguin
2019-04-22Make gun_tls_proxy a gen_statemLoï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-19Integrate gun_tls_proxy into gun properLoï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-25Add the gun_tls_proxy transport for TLS over TLS supportLoïc Hoguin
2019-01-10Fix init_per_suite return value for skippingLoïc Hoguin
2019-01-10Use a different method for ignoring h2specd build errorsLoïc Hoguin
2019-01-10Don't fail in previous h2specd steps eitherLoïc Hoguin
2019-01-10Don't fail tests if we can't build h2specdLoïc Hoguin
2019-01-10Skip h2specd_SUITE if h2specd doesn't existLoïc Hoguin
Better skip than fail when a distribution has a too old Go.
2019-01-10Tweak another timeoutLoïc Hoguin
2019-01-10Tweak more test timeoutsLoïc Hoguin
2019-01-10Update Erlang.mkLoïc Hoguin
2019-01-10Tweak timeouts to fix intermittent failuresLoïc Hoguin
2019-01-09Improve documentation about gun:headers/4,5Loïc Hoguin
2019-01-09Add function gun:stream_info/2Loïc Hoguin
2019-01-06Lowercase header names automatically and accept more typesLoï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-06Don't output unrelated errors in successful testsLoïc Hoguin
We need to close the Gun connection to avoid owner_gone errors.
2019-01-06Add a timeout to prevent an intermittent failureLoïc Hoguin
2019-01-06Fix KilledStreams value for HTTP for connection: close responsesLoïc Hoguin
2019-01-06Increase the connect_h2 test delayLoïc Hoguin
When it's testing h2 it has to do both ssl and h2 handshakes and that can take a while.
2019-01-05Fix atom hostnamesLoïc Hoguin
2019-01-05Fix transfer-encoding precedence over content-lengthLoïc Hoguin
2019-01-05Clarify option errors in the manual for gun:open/open_unixLoïc Hoguin
Also fix an http into http2 for one option.
2019-01-05Don't send empty data chunksLoïc Hoguin
This was a bug in the case of HTTP/1.1 and an inconvenience in the case of HTTP/2.
2019-01-05Ensure Gun retries connecting immediatelyLoïc Hoguin
2019-01-03Update copyright yearsLoïc Hoguin
2019-01-03Bump 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-03Consolidate origin server test helpersLoïc Hoguin
Also fixes an issue with switch_transport introduced when converting the Gun process to gen_statem.
2019-01-02Don't send the default port in the host header for HTTP/2Loïc Hoguin
2019-01-02Don't send the default port in the host header for HTTP/1.1Loïc Hoguin
2018-12-31Disable keepalive by default for HTTP/1.1Loïc Hoguin
This is safer as servers may reject too many extra empty lines.
2018-12-31Separate request/4,5,6 into headers/4,5 and request/5,6Loïc Hoguin
This cleaner separation gets rid of the implicit body check that was causing issues for many users. Now the body is either given explicitly or it is expected via future gun:data/3 calls.
2018-12-31Fix stripping stream reference in gun_httpPiotr Bober
An invalid stream reference (the websocket tuple wrapper) was sent in the gun_data message. Also moves autobahn to its own test suite.
2018-12-31Ignore socket errors in gun_ws:close/2Loïc Hoguin
2018-12-19Convert the gun process to gen_statemLoïc Hoguin
2018-12-19Get rid of duplicates in h2specd outputLoïc Hoguin
I'm not sure what caused the duplicates to appear, but they should be gone now.
2018-12-19Update erlang.mkLoïc Hoguin
2018-10-31The method must be a binary in cow_http2_machineLoïc Hoguin
2018-10-31Fix the error sent when we receive an RST_STREAMLoïc Hoguin
2018-10-30Switch to cow_http2_machine for HTTP/2Loïc Hoguin
A common state machine for Gun and Cowboy will be easier to maintain. This fixes numerous issues including some test failures that were hidden because the h2specd_SUITE was flawed. We temporarily depend on Cowlib master until a new version is released.
2018-10-11Remove twitter_SUITELoïc Hoguin
This test suite is not really necessary anymore now that we have h2specd_SUITE and others.
2018-10-11Make all the gun_SUITE test self-reliableLoïc Hoguin
Some intermittent failures occurred because of trying to connect to google.com or echo.websocket.org.
2018-10-01Gun 1.3.01.3.0Loïc Hoguin
2018-10-01Document the protocols option for WebsocketMichal Piotrowski
2018-10-01Remove unreachable clauses pointed out by DialyzerLoïc Hoguin
2018-10-01Fix the remaining h2specd test failuresLoïc Hoguin
2018-10-01Handle HTTP/2 continuation framesLoïc Hoguin
Fixes most h2specd tests.
2018-09-28Ignore HTTP/2 frames of unknown typesLoïc Hoguin
2018-09-28Improve logging in the h2specd_SUITELoïc Hoguin