aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-09-23Correct two tests that introspect the Gun stateLoïc Hoguin
It has changed in Gun 1.2.
2018-09-21Rename the HTTP/2 Websocket test suite to rfc8441_SUITELoïc Hoguin
2018-09-21Update Cowlib to 2.6.0Loïc Hoguin
2018-09-21Add the {active, boolean()} Websocket commandLoï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-20Remove an outdated note about cowboy_loop timeoutLoïc Hoguin
2018-09-19Add RFC 8441 to the listLoïc Hoguin
2018-09-12Do not send a 101 after a final response in switch_protocolLoïc Hoguin
2018-09-12Prepare the 2.5.0 releaseLoïc Hoguin
2018-09-12Update erlang.mkLoïc Hoguin
2018-09-12Update Cowlib to 2.5.1Loïc Hoguin
2018-09-11Swap the ws and autobahn test groups to run autobahn lastLoïc Hoguin
If there's an error it makes sense to have feedback as early as possible.
2018-09-11Add a commands-based interface to Websocket handlersLoï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-07Add cowboy_req:read_and_match_urlencoded_body/2,3Loïc Hoguin
2018-09-07Fix some grammatical errors in the manualLoïc Hoguin
2018-09-07Add upcoming Clear Site Data draft to the listLoïc Hoguin
2018-08-13See if recompiling ct_helper every time fixes ci buildsLoïc Hoguin
2018-08-13Improve errors for when the ProvideCallback is missingLoïc Hoguin
2018-08-13Update Ranch to 1.6.1Loïc Hoguin
2018-08-13Clarify the DEP_PLUGINS line in the Getting StartedLoïc Hoguin
2018-08-13Fix the infinity timeout testsLoïc Hoguin
Make sure the test fails when the code is incorrect.
2018-08-13Move some test functions off to ct_helperLoïc Hoguin
2018-08-13Fix cancelling undefined settings timerBing Han
when settings_timeout is infinity
2018-08-13Update Erlang.mkLoïc Hoguin
2018-08-06Add missing log command to the commands() typeLoïc Hoguin
2018-08-06Remove an incorrect statement from the guideLoïc Hoguin
2018-07-09Add missing logger spec for cowboy_http2 optsLoïc Hoguin
2018-06-28Introduce undocumented option loggerLoï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-27Remove a stream handlers related todo not worth doingLoïc Hoguin
2018-06-27Make sure cowboy_stream_h calls subsequent stream handlersLoïc Hoguin
2018-06-27Disable warnings for erlang:get_stacktrace/0 in OTP-21+Loïc Hoguin
2018-06-27Use cowboy_req:stream_events in the eventsource exampleLoïc Hoguin
2018-06-27Add test cases for cowboy_req:stream_eventsLoïc Hoguin
2018-06-27Document cowboy_req:stream_events/3Loïc Hoguin
2018-06-26Add missing frame types to websocket_handle specs/docsLoïc Hoguin
Thanks Artem.
2018-06-26Fix tests for most recent GunLoïc Hoguin
2018-06-25Add an undocumented stream_events functionLoïc Hoguin
I will test it on a private project before settling on it.
2018-06-25Add streaming without chunking for HTTP/1.1Eric Meadows-Jönsson
If content-length is set in the response headers we can skip chunked transfer-encoding.
2018-06-11The TLS certificate can be accessed directlyLoïc Hoguin
2018-06-11Fix an example missing a " in the manualLoïc Hoguin
2018-06-08Fix some formatting issues in the manualLoïc Hoguin
2018-06-06Fix an incorrect section_title level in the manualLoïc Hoguin
2018-06-06Fix the cowboy_stream manual page nameLoïc Hoguin
2018-06-04Add a test for an empty host header in rfc7230Loïc Hoguin
2018-06-04Add a comment about push requiring a secure connectionLoïc Hoguin
2018-05-23Don't fail when copying erl_make_certsLoïc Hoguin
2018-05-22Update Erlang.mkLoïc Hoguin
Includes an experimental change to avoid deleting kerl unnecessarily and/or incorrectly.
2018-05-22Fix intermittent test failures in rfc7540_SUITELoïc Hoguin
2018-05-22Ensure tests in rfc7540_SUITE can be repeatedLoïc Hoguin
2018-05-20Fix intermittent failure of max_frame_size_sent testLoïc Hoguin
2018-05-20Update Erlang.mkLoïc Hoguin