Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2018-06-03 | Change messages to gun_upgrade and gun_ws with stream reference | Loïc Hoguin | |
2018-06-03 | Also flush trailers | Loïc Hoguin | |
2018-06-03 | Fill in the options types instead of using map() | Loïc Hoguin | |
2018-06-03 | Reorder the option checks | Loïc Hoguin | |
2018-06-03 | Fix the inet:ip_address() type | Loïc Hoguin | |
2018-05-15 | Allow IP tuple for host #152 | Seudin Kasumovic | |
2018-05-07 | Import the HTTP/2 send_data function from Cowboy | Loïc Hoguin | |
Few changes were required so that's pretty good. It will be split off in a separate common module at a later time. | |||
2018-01-22 | Add missing gun_inform clauses | Andrei Nesterov | |
2018-01-21 | Do not expect a message body for 204, 304 status codes of HTTP/1.1 | Andrei Nesterov | |
2018-01-21 | Fix HTTP/1 cancel #140 | Peter Hizalev | |
2017-12-16 | Add support for unix sockets | michael-coles | |
2017-12-14 | Change the {gone, Reason} to {shutdown, Reason} plus small fixes | Loïc Hoguin | |
The reason for this change is to avoid annoying supervisor logs when SASL logging is enabled. | |||
2017-12-06 | Don't send transfer-encoding for HTTP/1.0 | Loïc Hoguin | |
2017-11-15 | Fix a potential issue finding end of headers in HTTP/1.1 | Loïc Hoguin | |
This is a bit less efficient but necessary in case we start getting the beginning of \r\n\r\n and it cuts just there. | |||
2017-11-15 | Add preliminary support for trailers | Loïc Hoguin | |
The code is definitely not the best, but as long as it doesn't break anything it should be OK for now. | |||
2017-10-29 | Add support for informational responses | Loïc Hoguin | |
2017-10-06 | Don't error out when the owner is gone normally | Loïc Hoguin | |
2017-09-02 | Fix gun_http2:handle/2 when goaway is received | Eduardo Gurgel | |
2017-08-14 | Allow an infinity keepalive value1.0.0-pre.4 | Loïc Hoguin | |
This disables the keepalive mechanism entirely. | |||
2017-08-12 | Fix a Dialyzer warning | Loïc Hoguin | |
2017-08-12 | Remove SPDY; document HTTP/2 | Loïc Hoguin | |
I just replaced "SPDY" with "HTTP/2" in the documentation. I suspect that's all that's needed, but if there's something off we can fix it later. | |||
2017-08-12 | Fix a warning preventing compilation | Loïc Hoguin | |
2017-08-11 | Add missing Websocket clause detecting owner is gone | Loïc Hoguin | |
2017-06-16 | Send a gun_sse message when the SSE stream closes | Loïc Hoguin | |
The message takes the following form: {gun_sse, Pid, Ref, fin} In other words instead of an event we get a 'fin' atom. | |||
2017-05-23 | add missing call to lists:usort/1 | Peter Morgan | |
2017-05-19 | Add partial support for h2 flow control | Loïc Hoguin | |
Specifically we send WINDOW_UPDATE frames in order to receive more data, but we do not respect the flow control window when we are sending request bodies. | |||
2017-05-19 | Ensure the stacktrace is passed when crashing | Loïc Hoguin | |