Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2018-06-27 | Remove a stream handlers related todo not worth doing | Loïc Hoguin | |
2018-06-27 | Make sure cowboy_stream_h calls subsequent stream handlers | Loïc Hoguin | |
2018-06-27 | Disable warnings for erlang:get_stacktrace/0 in OTP-21+ | Loïc Hoguin | |
2018-06-27 | Use cowboy_req:stream_events in the eventsource example | Loïc Hoguin | |
2018-06-27 | Add test cases for cowboy_req:stream_events | Loïc Hoguin | |
2018-06-27 | Document cowboy_req:stream_events/3 | Loïc Hoguin | |
2018-06-26 | Add missing frame types to websocket_handle specs/docs | Loïc Hoguin | |
Thanks Artem. | |||
2018-06-26 | Fix tests for most recent Gun | Loïc Hoguin | |
2018-06-25 | Add an undocumented stream_events function | Loïc Hoguin | |
I will test it on a private project before settling on it. | |||
2018-06-25 | Add streaming without chunking for HTTP/1.1 | Eric Meadows-Jönsson | |
If content-length is set in the response headers we can skip chunked transfer-encoding. | |||
2018-06-11 | The TLS certificate can be accessed directly | Loïc Hoguin | |
2018-06-11 | Fix an example missing a " in the manual | Loïc Hoguin | |
2018-06-08 | Fix some formatting issues in the manual | Loïc Hoguin | |
2018-06-06 | Fix an incorrect section_title level in the manual | Loïc Hoguin | |
2018-06-06 | Fix the cowboy_stream manual page name | Loïc Hoguin | |
2018-06-04 | Add a test for an empty host header in rfc7230 | Loïc Hoguin | |
2018-06-04 | Add a comment about push requiring a secure connection | Loïc Hoguin | |
2018-05-23 | Don't fail when copying erl_make_certs | Loïc Hoguin | |
2018-05-22 | Update Erlang.mk | Loïc Hoguin | |
Includes an experimental change to avoid deleting kerl unnecessarily and/or incorrectly. | |||
2018-05-22 | Fix intermittent test failures in rfc7540_SUITE | Loïc Hoguin | |
2018-05-22 | Ensure tests in rfc7540_SUITE can be repeated | Loïc Hoguin | |
2018-05-20 | Fix intermittent failure of max_frame_size_sent test | Loïc Hoguin | |
2018-05-20 | Update Erlang.mk | Loïc Hoguin | |
2018-05-18 | Remove two broken absolute URI tests from old_http_SUITE | Loïc Hoguin | |
2018-05-18 | Remove the trailer header from HTTP/1.1 response if no TE | Loïc Hoguin | |
2018-05-18 | Don't send transfer-encoding when streaming 204 responses | Loïc Hoguin | |
2018-05-18 | Do not process HTTP/1.1 requests coming in after the last | Loïc Hoguin | |
2018-05-18 | Improve the limit_requests_keepalive test | Loïc Hoguin | |
We now check that the connection gets closed. | |||
2018-05-18 | Fix the ignore_requests_after_response_connection_close test | Loïc Hoguin | |
It was not working at all. | |||
2018-05-18 | Comment out the origin_form_reject_if_connect test | Loïc Hoguin | |
We don't implement CONNECT yet so we unconditionally return a 501 for these requests and that makes this test fail. | |||
2018-05-18 | Add more validation of absolute-form request targets | Loïc Hoguin | |
2018-05-18 | Remove more old_http_SUITE tests | Loïc Hoguin | |
2018-05-17 | Remove the set_env test from old_http_SUITE | Loïc Hoguin | |
It duplicated a test in misc_SUITE. Also fix a couple issues in misc_SUITE including a test that was not being executed. | |||
2018-05-17 | Remove the parse_host test from old_http_SUITE | Loïc Hoguin | |
It seems to just be a duplicate of something we now have in Cowlib. | |||
2018-05-17 | Move a router test from old_http_SUITE to cowboy_router | Loïc Hoguin | |
2018-05-17 | Move timeout tests from old_http_SUITE to http_SUITE | Loïc Hoguin | |
Also fix the idle_timeout test which was producing an extra crash log. | |||
2018-05-17 | Remove more tests from old_http_SUITE which exist elsewhere | Loïc Hoguin | |
2018-05-17 | Remove/convert tests about request body from old_http_SUITE | Loïc Hoguin | |
2018-05-17 | Remove a broken test from loop_handler_SUITE | Loïc Hoguin | |
The feature was removed in Cowboy 2.0. An alternative to obtain the same behavior will be introduced as cowboy_req:read_body_async/1. | |||
2018-05-17 | Speed up testing large static files, 32MB instead of 512MB | Loïc Hoguin | |
2018-05-17 | Make examples_SUITE runs nearly twice faster | Loïc Hoguin | |
2018-05-16 | Add option linger_timeout to cowboy_http | Loïc Hoguin | |