Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-31 | Improve a few types, including cowboy_req:req() | Loïc Hoguin | |
2018-10-31 | Always dialyze tests and fix some cowboy_req specs | Loïc Hoguin | |
2018-10-31 | Fix a test listener not being stopped | Loïc Hoguin | |
2018-10-30 | Initial support for the PROXY protocol header | Loïc Hoguin | |
Depend on Ranch master for now since it isn't in any release yet. | |||
2018-10-28 | Fix the sys trap_exit tests | Loïc Hoguin | |
The processes go down slower now so that caused intermittent issues. | |||
2018-10-28 | Remove a useless todo | Loïc Hoguin | |
2018-10-28 | Rename a few functions and shuffle arguments | Loïc Hoguin | |
2018-10-28 | Remove an unnecessary function | Loïc Hoguin | |
2018-10-28 | Exit gracefully on parent exit/sys:terminate/2,3 | Loïc Hoguin | |
2018-10-27 | Fix small issues introduced in the previous commit | Loïc Hoguin | |
2018-10-27 | Use cow_http2_machine's timer handling | Loïc Hoguin | |
2018-10-26 | Use cow_http2:parse_sequence/1 | Loïc Hoguin | |
2018-10-26 | Switch cowboy_http2 to the new cow_http2_machine | Loïc Hoguin | |
The new module is a merge of the Cowboy and Gun HTTP/2 state machines. Using a common code will help future developments rather than duplicating the work. A notable change is in how streams are terminated when the handler stops before the body is sent. The cowboy_stream:terminate function is now called only after the body has been sent fully (or the stream is reset in-between), not when the stop command is returned. This will most likely have an impact on metrics but will be closer to reality. I had to comment a broken test in rfc7231_SUITE that was cheating, cheating is no longer possible. This depends on Cowlib master for the time being. A new Cowlib version will be released once both Cowboy and Gun are ported to use cow_http2_machine and I'm satisfied with it. | |||
2018-10-26 | Simplify a case clause | Loïc Hoguin | |
2018-10-26 | Add yet another RFC to the list | Loïc Hoguin | |
2018-10-02 | Fix Cowboy version in the getting started chapter2.5.0 | Loïc Hoguin | |
2018-10-02 | Fix ranch:start_tls when transport options are a map | Loïc Hoguin | |
2018-10-02 | Shorten a command in the Makefile | Loïc Hoguin | |
2018-09-26 | Use gun:info instead of hacks for test socket operations | Loïc Hoguin | |
2018-09-23 | Update Ranch to 1.6.2 | getong | |
2018-09-23 | Rename handler modules to _h | Herman Singh | |
2018-09-23 | Add a spec to the list | Loïc Hoguin | |
2018-09-23 | Fix stream_handler_SUITE test failures due to compression | Loïc Hoguin | |
We always compress when streaming the body back to the client regardless of the size actually streamed. | |||
2018-09-23 | Correct two tests that introspect the Gun state | Loïc Hoguin | |
It has changed in Gun 1.2. | |||
2018-09-21 | Rename the HTTP/2 Websocket test suite to rfc8441_SUITE | Loïc Hoguin | |
2018-09-21 | Update Cowlib to 2.6.0 | Loïc Hoguin | |
2018-09-21 | Add the {active, boolean()} Websocket command | Loïc Hoguin | |
This command is currently not documented. It allows disabling the reading of incoming data from the socket, and can be used as a poor man's flow control. | |||
2018-09-20 | Remove an outdated note about cowboy_loop timeout | Loïc Hoguin | |
2018-09-19 | Add RFC 8441 to the list | Loïc Hoguin | |
2018-09-12 | Do not send a 101 after a final response in switch_protocol | Loïc Hoguin | |
2018-09-12 | Prepare the 2.5.0 release | Loïc Hoguin | |
2018-09-12 | Update erlang.mk | Loïc Hoguin | |
2018-09-12 | Update Cowlib to 2.5.1 | Loïc Hoguin | |
2018-09-11 | Swap the ws and autobahn test groups to run autobahn last | Loïc Hoguin | |
If there's an error it makes sense to have feedback as early as possible. | |||
2018-09-11 | Add a commands-based interface to Websocket handlers | Loïc Hoguin | |
This feature is currently experimental. It will become the preferred way to use Websocket handlers once it becomes documented. A commands-based interface enables adding commands without having to change the interface much. It mirrors the interface of stream handlers or gen_statem. It will enable adding commands that have been needed for some time but were not implemented for fear of making the interface too complex. | |||
2018-09-07 | Add cowboy_req:read_and_match_urlencoded_body/2,3 | Loïc Hoguin | |
2018-09-07 | Fix some grammatical errors in the manual | Loïc Hoguin | |
2018-09-07 | Add upcoming Clear Site Data draft to the list | Loïc Hoguin | |
2018-08-13 | See if recompiling ct_helper every time fixes ci builds | Loïc Hoguin | |
2018-08-13 | Improve errors for when the ProvideCallback is missing | Loïc Hoguin | |
2018-08-13 | Update Ranch to 1.6.1 | Loïc Hoguin | |
2018-08-13 | Clarify the DEP_PLUGINS line in the Getting Started | Loïc Hoguin | |
2018-08-13 | Fix the infinity timeout tests | Loïc Hoguin | |
Make sure the test fails when the code is incorrect. | |||
2018-08-13 | Move some test functions off to ct_helper | Loïc Hoguin | |
2018-08-13 | Fix cancelling undefined settings timer | Bing Han | |
when settings_timeout is infinity | |||
2018-08-13 | Update Erlang.mk | Loïc Hoguin | |
2018-08-06 | Add missing log command to the commands() type | Loïc Hoguin | |
2018-08-06 | Remove an incorrect statement from the guide | Loïc Hoguin | |
2018-07-09 | Add missing logger spec for cowboy_http2 opts | Loïc Hoguin | |
2018-06-28 | Introduce undocumented option logger | Loïc Hoguin | |
This commit reworks the logging that Cowboy does via error_logger to make the module that will do the actual logging configurable. The logger module interface must be the same as logger and lager: a separate function per log level with the same log levels they support. The default behavior remains to call error_logger, although some messages were downgraded to warnings instead of errors. Since error_logger only supports three different log levels, some messages may get downgraded/upgraded depending on what the original log level was to make them compatible with error_logger. The {log, Level, Format, Args} command was also added to stream handlers. Stream handlers should use this command to log messages because it allows writing a stream handler to intercept some of those messages and extract information or block them as necessary. The logger option only applies to Cowboy itself, not to the messages Ranch logs, so more work remains to be done in that area. |