aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-02-28Gun 1.3.21.3.2Loïc Hoguin
2020-02-28Don't fail on h2specd and test against OTP-20+ onlyLoïc Hoguin
2020-02-28Use Cowboy 2.6.0 for testsLoïc Hoguin
2020-02-28Remove the old eunit testLoïc Hoguin
2020-02-27Use specific error when HTTP/2 receives HTTP/1 responseLoïc Hoguin
Also fix a build issue introduced in cherry-pick.
2020-02-27Fix crashes from missing clauseLoïc Hoguin
2020-02-27Add a test getting preface errors in the 'DOWN' reasonLoïc Hoguin
2020-02-27Detect invalid HTTP/2 preface errorsLoï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.
2019-09-26Gun 1.3.11.3.1Loïc Hoguin
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
2018-09-28Run the h2specd tests in a new test suiteLoïc Hoguin
A number of tests are currently failing.
2018-09-26Add a timer:sleep to make a test pass reliablyLoïc Hoguin
2018-09-26Don't crash on HEADERS frames with PRIORITY flag setLoïc Hoguin
2018-09-26Remove gun:dbg_send_raw/2Loïc Hoguin
The same can now be achieved using gun:info to retrieve the socket. This function was not documented and was only used in the old Cowboy test suite.
2018-09-26Add the socket in the gun:info mapLoïc Hoguin
This is used by Cowboy for tests.
2018-09-26Don't send keep-alive while waiting for CONNECT responsesLoïc Hoguin
Otherwise this can mess up the underlying protocol we will switch to, like TLS or HTTP/2.
2018-09-26Keep track of the intermediaries the connection go throughLoïc Hoguin
Also augment the CONNECT tests to confirm that the intermediaries are accounted for.
2018-09-20Use ALPN when proxying TLS connections using CONNECTLoïc Hoguin
This fixes HTTP/2 over TLS connections. The protocol destination option has been deprecated in favor of a protocols option.
2018-09-17Gun 1.2.01.2.0Loïc Hoguin
2018-09-17Document gun:connect/2,3,4Loïc Hoguin
2018-09-17Improve one of the CONNECT testsLoïc Hoguin
This caused failures on OSX.
2018-09-17Add HTTP/1.1 CONNECT supportLoïc Hoguin
Gun can now be used to connect through TCP HTTP/1.1 proxies using all supported protocols. It is also possible to create a tunnel through multiple proxies. Also updates Cowlib to 2.6.0.
2018-09-10Add more details to the READMELoïc Hoguin
2018-08-09Add an SSE test for lone id: linesLoïc Hoguin
2018-08-06Gun 1.1.01.1.0Loïc Hoguin
2018-08-06Update erlang.mkLoïc Hoguin
2018-08-06Make sse_SUITE work for older OTP versionsLoïc Hoguin
2018-08-06Rewrite the SSE suite using CowboyLoïc Hoguin
2018-08-06Fix some whitespaceLoïc Hoguin
2018-08-06Fix the status code passed to content handlersLoïc Hoguin
The integer form is expected, not the binary.
2018-08-06Fix the type of SSL sockets in the transport moduleLoïc Hoguin
2018-08-06Fix some types that were referring to CowboyLoïc Hoguin
2018-08-06Update Cowlib to 2.5.1Loïc Hoguin
This is mainly to fix a bug in gun_sse_h where lone id lines are not decoded properly. Some typespecs were also fixed.
2018-07-27Gun 1.0.01.0.0Loïc Hoguin
2018-07-27Fix OTP 21 warningsLoïc Hoguin
2018-06-26Fix a mistake in the Websocket guideLoïc Hoguin
2018-06-11Fix await_up link in function reference docsRadu Ciorba
2018-06-11Use asciideck to build the documentationLoïc Hoguin
2018-06-04Gun 1.0.0-rc.11.0.0-rc.1Loïc Hoguin
2018-06-04Support Unix domain sockets when building host headersSimon Thörnqvist
2018-06-04Review and update the user guideLoïc Hoguin
2018-06-04Update copyright yearsLoïc Hoguin
2018-06-04Remove circle.yml, not been using it for a long timeLoïc Hoguin
2018-06-04Update Cowlib to 2.4.0Loïc Hoguin