Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | 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-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 | Fix KilledStreams value for HTTP for connection: close responses | Loïc Hoguin | |
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 | 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. | |||
2018-12-31 | Separate request/4,5,6 into headers/4,5 and request/5,6 | Loï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-31 | Fix stripping stream reference in gun_http | Piotr 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-31 | Ignore socket errors in gun_ws:close/2 | Loïc Hoguin | |
2018-12-19 | Convert the gun process to gen_statem | Loïc Hoguin | |
2018-10-31 | The method must be a binary in cow_http2_machine | Loïc Hoguin | |
2018-10-31 | Fix the error sent when we receive an RST_STREAM | Loïc Hoguin | |
2018-10-30 | Switch to cow_http2_machine for HTTP/2 | Loï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-01 | Document the protocols option for Websocket | Michal Piotrowski | |
2018-10-01 | Remove unreachable clauses pointed out by Dialyzer | Loïc Hoguin | |
2018-10-01 | Fix the remaining h2specd test failures | Loïc Hoguin | |
2018-10-01 | Handle HTTP/2 continuation frames | Loïc Hoguin | |
Fixes most h2specd tests. | |||
2018-09-28 | Ignore HTTP/2 frames of unknown types | Loïc Hoguin | |
2018-09-26 | Don't crash on HEADERS frames with PRIORITY flag set | Loïc Hoguin | |
2018-09-26 | Remove gun:dbg_send_raw/2 | Loï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-26 | Add the socket in the gun:info map | Loïc Hoguin | |
This is used by Cowboy for tests. | |||
2018-09-26 | Don't send keep-alive while waiting for CONNECT responses | Loïc Hoguin | |
Otherwise this can mess up the underlying protocol we will switch to, like TLS or HTTP/2. | |||
2018-09-26 | Keep track of the intermediaries the connection go through | Loïc Hoguin | |
Also augment the CONNECT tests to confirm that the intermediaries are accounted for. | |||
2018-09-20 | Use ALPN when proxying TLS connections using CONNECT | Loïc Hoguin | |
This fixes HTTP/2 over TLS connections. The protocol destination option has been deprecated in favor of a protocols option. | |||
2018-09-17 | Add HTTP/1.1 CONNECT support | Loï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-08-06 | Fix some whitespace | Loïc Hoguin | |
2018-08-06 | Fix the status code passed to content handlers | Loïc Hoguin | |
The integer form is expected, not the binary. | |||
2018-08-06 | Fix the type of SSL sockets in the transport module | Loïc Hoguin | |
2018-08-06 | Fix some types that were referring to Cowboy | Loïc Hoguin | |
2018-07-27 | Fix OTP 21 warnings | Loïc Hoguin | |
2018-06-04 | Support Unix domain sockets when building host headers | Simon Thörnqvist | |
2018-06-04 | Update copyright years | Loïc Hoguin | |
2018-06-04 | Add some todos for later | Loïc Hoguin | |
2018-06-04 | Remove the dependency on Ranch | Loïc Hoguin | |
We instead of two new modules, gun_tcp and gun_tls. They only have 6 functions so far, much less than what Ranch provided before. Also renames ssl to tls where applicable. It's still possible to use the ssl transport option but it's now undocumented. | |||
2018-06-03 | Rename gun_data and gun_sse to gun_data_h and gun_sse_h | Loïc Hoguin | |