Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2017-05-01 | Add gun:info/11.0.0-pre.3 | Loïc Hoguin | |
So far only for getting the socket ip and port on the local side. More values may be added later on. | |||
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-30 | Monitor owner and terminate when it dies | Juan Facorro | |
2017-04-30 | Allow infinity for connect_timeout | Loïc Hoguin | |
2017-04-30 | Fix retry_timeout value check | Loïc Hoguin | |
2017-04-30 | Add connect timeout | sugus-seu | |
2017-04-30 | Ignore errors from Transport:setopts/2 | Yuki Ito | |
2017-04-30 | Propagate the last connection failure reason | Loïc Hoguin | |
Based on a patch by Pablo Polvorin. Thanks! | |||
2017-04-30 | Fix the retry=0 case, add general gun test suite | Loïc Hoguin | |
2017-04-28 | Add 'user_opts' options for use in Websocket handlers | Loïc Hoguin | |
2017-04-28 | Fix a type and variable name in gun_content_handler | Loïc Hoguin | |
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-04-26 | Use the host header value for authority in h2, if any | Loïc Hoguin | |
2017-01-02 | Fix sending of data > 16384 with HTTP/21.0.0-pre.2 | Loïc Hoguin | |
2017-01-02 | Implement HTTP/2 server push | Loïc Hoguin | |
2017-01-02 | Fix sending of body as iodata() with HTTP | Loïc Hoguin | |
2016-11-16 | Update Erlang.mk and related changes | Loïc Hoguin | |
2016-06-28 | Properly handle HTTP/1.1 HEAD requests | Loïc Hoguin | |
No response body is expected from now on. | |||
2016-06-20 | Send proper scheme for HTTP/2 | Loïc Hoguin | |
Clear connections send "http" and TLS connections "https". | |||
2016-06-08 | Merge branch 'fix_badarg_on_ping' of https://github.com/philipstears/gun | Loïc Hoguin | |
2016-06-06 | Fix badarg in http/2 ping generation | Philip Stears | |
2016-06-06 | gun_http2 erroneously using cow_spdy. | Philip Stears | |
2016-06-06 | Handle RST_STREAM in HTTP/2 protocol | Loïc Hoguin | |
2016-05-27 | Initial HTTP/2 support | Loïc Hoguin | |
A number of things are not implemented, but this is enough to connect to Twitter and get a response sent back. It also currently doesn't have tests. | |||
2015-08-17 | Fix compilation issue | Loïc Hoguin | |
Oops! | |||
2015-08-17 | Fix ssl:negotiated_next_protocol/1 is deprecated. | Maxim Krentovskiy | |
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-05 | Update to 1.0.0-pre.11.0.0-pre.1 | Loïc Hoguin | |
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 | Add Websocket options | Loïc Hoguin | |
Allow passing Websocket options through either open or ws_upgrade. Document ws_upgrade/4. | |||
2015-04-10 | Make Dialyzer happy | Loïc Hoguin | |