Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-07-15 | Add Websocket frames related events | Loïc Hoguin | |
2019-07-13 | Add ws_upgrade/protocol_changed events | Loïc Hoguin | |
And ensure that Websocket triggers all the request/response events. | |||
2019-07-03 | Add the response_trailers event | Loïc Hoguin | |
2019-07-03 | Add the response_start event | Loïc Hoguin | |
Thought it needed cow_http2_machine changes but everything was available. For HTTP/1.1 it is triggered when receiving data while expecting headers. For HTTP/2 it is triggered after we have received a HEADERS frame for streams in idle state. | |||
2019-07-02 | Add response_inform/response_headers/response_end events | Loïc Hoguin | |
This covers many scenarios but more need to be added. | |||
2019-06-02 | Add request_start, request_headers and request_end events | Loïc Hoguin | |
2019-04-25 | Fix Websocket upgrade host header when it's an IP address | Sergey Tupchiy | |
2019-04-22 | Make gun_tls_proxy work for HTTP/2 connections | Loïc Hoguin | |
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-01-09 | Add function gun:stream_info/2 | Loïc Hoguin | |
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-03 | Update copyright years | Loïc Hoguin | |
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 | 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-19 | Convert the gun process to gen_statem | Loïc Hoguin | |
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-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 | 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 | Reorder the option checks | Loïc Hoguin | |
2018-05-15 | Allow IP tuple for host #152 | Seudin Kasumovic | |
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-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-08-14 | Allow an infinity keepalive value1.0.0-pre.4 | Loïc Hoguin | |
This disables the keepalive mechanism entirely. | |||
2017-05-01 | Add transform_header_name http option. | Gustaf Sjoberg | |
2017-05-01 | Add support for choosing a process to reply to | Andrei Nesterov | |
2017-04-28 | Add Gun Websocket handlers and protocol support | Loïc Hoguin | |
This functionality can be used to implement custom protocols on top of Websocket, but may also be used to decode frame contents on the fly if necessary. The default_protocol option defines what module should be used when no protocol was selected. The protocols option is a list of key/value pairs used to select the handler depending on the protocol that the server accepted. The feature is currently experimental. | |||
2017-04-27 | Add content handlers and built-in SSE support | Loïc Hoguin | |
Content handlers are a chain of modules implementing callbacks that receive the body of responses and may modify it (for example for decompressing the content) or act upon it (like sending a message to the owner process. The gun_sse content handler module can be used to translate text/event-stream events on the fly and deliver them to the owner process as a {gun_sse...} message. This feature is currently not documented and is only tested against a public server. It requires an up to date Cowlib. | |||
2017-01-02 | Fix sending of body as iodata() with HTTP | Loïc Hoguin | |
2016-06-28 | Properly handle HTTP/1.1 HEAD requests | Loïc Hoguin | |
No response body is expected from now on. | |||
2015-08-17 | Fix compilation issue | Loïc Hoguin | |
Oops! | |||
2015-08-16 | Handle 204 responses properly | Loïc Hoguin | |
Thanks @petrohi for the initial patch. | |||
2015-08-16 | Include user headers in HTTP/1 requests | Loïc Hoguin | |
Oops! Thanks everyone who reported/submitted patches. | |||
2015-05-03 | Add a missing Transfer-Encoding: chunked header in HTTP | Loïc Hoguin | |
When we stream content we need to set this header manually from Gun. | |||
2015-04-12 | Add a SPDY test and improve a few badstate messages | Loïc Hoguin | |
2015-04-10 | Add headers to gun_ws_upgrade message | Loïc Hoguin | |
Also improves the code and documentation about this message. It was incorrectly specified that a gun_ws_upgrade message could be sent on error; instead a gun_response is sent. | |||
2015-04-10 | Make Dialyzer happy | Loïc Hoguin | |