aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-04-30Update Cowboy to 2.4.0Loïc Hoguin
2018-04-30Update Cowlib to 2.3.0Loïc Hoguin
2018-04-30Fix some intermittent test issues in rfc7540Loïc Hoguin
2018-04-30Fix some rfc7540 tests that had an empty :pathLoïc Hoguin
2018-04-30Reduce the time we wait during h2spec requestsLoïc Hoguin
2018-04-30Reject HTTP/2 requests with a body size different than content-lengthLoïc Hoguin
2018-04-29Add tests for rejecting streams depending on themselvesLoïc Hoguin
2018-04-29Receive and ignore HTTP/2 request trailers if anyLoïc Hoguin
This is a first step toward properly supporting request trailers.
2018-04-28Add SETTINGS ack timeout and option settings_timeoutLoïc Hoguin
2018-04-28Fix intermittent test failures for rfc7540Loïc Hoguin
2018-04-27Reject WINDOW_UPDATE frames sent after an RST_STREAMLoïc Hoguin
2018-04-27Fix an rfc7540 test to have a different error reasonLoïc Hoguin
2018-04-27Add options controlling maximum h2 frame sizesLoïc Hoguin
2018-04-26Add options controlling initial control flow windowsLoïc Hoguin
2018-04-26Fix building of h2spec on FreeBSDLoïc Hoguin
2018-04-25Add the max_concurrent_streams h2 optionLoïc Hoguin
2018-04-25Fix the h2spec git URLLoïc Hoguin
2018-04-25Add options to control h2's SETTINGS_HEADER_TABLE_SIZELoïc Hoguin
2018-04-25Build h2spec automatically when running testsLoïc Hoguin
2018-04-23HTTP/2 informational responses don't end the streamLoïc Hoguin
2018-04-23Add missing enable_connect_protocol in typespecsLoïc Hoguin
2018-04-17Add a Websocket test with 3000 connectionsLoïc Hoguin
To ensure the connections are not limited by max_connections.
2018-04-10Update Ranch to 1.5.0Loïc Hoguin
2018-04-06Depend on Cowlib master for nowLoïc Hoguin
2018-04-05update docgetong
2018-04-04Fix Dialyzer warningsLoïc Hoguin
2018-04-04Add initial implementation of Websocket over HTTP/2Loïc Hoguin
Using the current draft: https://tools.ietf.org/html/draft-ietf-httpbis-h2-websockets-01
2018-03-28Tentatively update Cowboy to 2.3.02.3.0Loïc Hoguin
2018-03-28Update Cowlib to 2.2.1Loïc Hoguin
2018-03-28Add max_frame_size option for websocket handlersKirill Kinduk
Option allows to limit a frame by size before decoding its payload. LH: I have added a test for when the limit is reached on a nofin fragmented frame (the last commit addressed that case but it had no test). I have fixed formatting and other, and changed the default value to infinity since it might otherwise be incompatible with existing code. I also added documentation and a bunch of other minor changes.
2018-03-27Remove duplicate keys from map in inform docsGary Rennie
This is the equivalent way of doing the same thing using a single header.
2018-03-27Add the remaining sys testsLoïc Hoguin
2018-03-27Add more sys testsLoïc Hoguin
2018-03-26Fix the flushing of messages when switching to WebsocketLoïc Hoguin
We now flush messages that are specific to cowboy_http only. Stream handlers should also flush their own specific messages if necessary, although timeouts will be flushed regardless of where they originate from. Also renames the http_SUITE to old_http_SUITE to distinguish new tests from old tests. Most old tests need to be removed or converted eventually as they're legacy tests from Cowboy 1.0.
2018-03-23Add initial support for system messages in cowboy_loopLoïc Hoguin
2018-03-23Merge the two separate receive loops in cowboy_websocketLoïc Hoguin
Also rename a bunch of functions to make the code easier to read.
2018-03-23Add RFC 8336 to the listLoïc Hoguin
2018-03-22Update rebar.configLoïc Hoguin
2018-03-14Fix a Dialyzer warningLoïc Hoguin
2018-03-14Add case for handling infinity for idle/request_timeoutBartek Walkowicz
Currently cowboy assumes that idle_timeout or request_timeout is a number and always starts timers. Similar situation takes place in case of preface_timeout for http2. This commit adds case for handling infinity as a timeout, allowing to not start mentioned timers.
2018-03-13Handle system messages in cowboy_websocketLoïc Hoguin
2018-03-13Handle supervisor calls properly everywhereLoïc Hoguin
2018-03-12Initial work on the sys_SUITELoïc Hoguin
There's already tests failing and quite some refactoring to be done to make some things easier to test or fix issues.
2018-03-05Add a test suite for RFC7538; update Cowlib to 2.2.0Loïc Hoguin
This adds the 308 status code and fixes a few small parsing bugs.
2018-02-28Enable ci.erlang.mk only when CI_ERLANG_MK=1 is setLoïc Hoguin
This will avoid issues with other people's build systems.
2018-02-28Fix crash in cowboy_http2 when content-length is invalidLoïc Hoguin
2018-02-15Add a new relevant RFCLoïc Hoguin
2018-02-09Add link to the PROXY protocol to the specsLoïc Hoguin
It's very relevant even though I will probably not implement it.
2018-01-29Add an example with a Websocket close frameLoïc Hoguin
Thanks benbro!
2018-01-29Fix a small issue in the cowboy_req:parse_cookies manualLoïc Hoguin
Thanks benbro!