Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-19 | Remove hooks from the user guide | Loïc Hoguin | |
They're gone! | |||
2017-07-19 | Remove the broken examples | Loïc Hoguin | |
Hooks are gone, and we won't be able to stream body in REST in Cowboy 2.0-rc.1, and might not in 2.0 either. That is, other than via halting the processing. | |||
2017-07-19 | Tweak the migration guide | Loïc Hoguin | |
2017-07-19 | Remove CHANGELOG | Loïc Hoguin | |
Please consult the appendixes in the user guide. | |||
2017-07-19 | Update rebar.config | Loïc Hoguin | |
2017-07-19 | Websocket options are no longer per listener | Loïc Hoguin | |
2017-07-19 | Add a guide appendix on migrating from Cowboy 1.0 | Loïc Hoguin | |
2017-07-15 | Req Body length can be a non_neg_integer or infinity | Steven Magelowitz | |
2017-07-14 | Update Erlang.mk | Loïc Hoguin | |
2017-07-14 | Fix the remaining http_SUITE test cases | Loïc Hoguin | |
2017-07-13 | Fix more of the older tests | Loïc Hoguin | |
The Cowboy behavior has changed a little and gives more accurate error responses now. And in some cases, successes. | |||
2017-07-12 | Fix a few of the older tests | Loïc Hoguin | |
2017-07-12 | Remove tests for set_resp_body with a stream fun | Loïc Hoguin | |
2017-07-12 | Catch more 400 errors | Loïc Hoguin | |
2017-07-12 | Remove any mention of the waiting_stream hack | Loïc Hoguin | |
2017-07-12 | Remove the onresponse tests from http_SUITE | Loïc Hoguin | |
2017-07-12 | Disable testing of ErlLLVM | Loïc Hoguin | |
2017-07-12 | Update to Cowlib 2.0.0-rc.1 | Loïc Hoguin | |
Also update the Erlang versions tested on CI. | |||
2017-07-01 | Aggregate validation errors and pass them in exception | Loïc Hoguin | |
2017-06-28 | Update version to 2.0.0-pre.102.0.0-pre.10 | Loïc Hoguin | |
2017-06-28 | Update OTP versions | Loïc Hoguin | |
2017-06-28 | Fix wrong percent encoding in a router test | Loïc Hoguin | |
2017-06-28 | Remove the cyrillic latin1 test | Loïc Hoguin | |
These characters are not allowed in URI paths. | |||
2017-06-28 | Fix unit tests in cowboy_router following interface changes | Loïc Hoguin | |
2017-06-28 | Improve the interface for constraints | Loïc Hoguin | |
There are two important changes in this commit. Constraints are now producing an error tuple. This error tuple in turn can be provided to a function for formatting a human readable error message. Both the error tuple and the formatting code are controlled by and part of the constraint function. Constraints now also implement the reverse operation. When constraint functions only validate, the reverse operation will be the same as the forward operation. When they also do some conversion then the reverse operation will reverse it. Since constraints are now performing 3 different operations (forward, reverse and format_error), they now take the form of a function accepting two separate arguments. The operation is the first argument. In addition, the return value was changed to take the form of {ok, Value} | {error, Reason}. The value must be returned as-is if it was not modified. | |||
2017-06-28 | Remove outdated multipart tests | Loïc Hoguin | |
They have equivalents in req_SUITE. | |||
2017-06-28 | Add another RFC to the pile | Loïc Hoguin | |
2017-06-14 | Fix a confusing code snippet | Loïc Hoguin | |
Reported by Jordan Chaitin. | |||
2017-06-09 | Make cowboy_req:read_part return multipart headers as map | Loïc Hoguin | |
2017-06-07 | Remove NumAcceptors argument from start_clear/tls | Loïc Hoguin | |
They are now cowboy:start_clear/3 and cowboy:start_tls/3. The NumAcceptors argument can be specified via the num_acceptor transport option. Ranch has been updated to 1.4.0 to that effect. | |||
2017-06-02 | Fix terminate not being called on connection close in HTTP/1.1 | Loïc Hoguin | |
Introduces the new stream_handler_SUITE test suite. More cases will be added later on. | |||
2017-05-31 | Don't terminate streams that were already terminated | Loïc Hoguin | |
This and the issues in the last two commits were reported by leo2007 on IRC. | |||
2017-05-31 | Fix bad accounting of HTTP/2 windows | Loïc Hoguin | |
The previous code was incorrectly substracting the maximum frame size we could send when the data we were actually sending was much lower. | |||
2017-05-31 | Apply the received SETTINGS frame | Loïc Hoguin | |
2017-05-28 | Introduce the req_filter Websocket option | Loïc Hoguin | |
This option allows customizing the compacting of the Req object when using Websocket. By default it will keep most public fields excluding headers of course, since those can be large. | |||
2017-05-23 | Fix a harmless warning in tests | Loïc Hoguin | |
2017-05-23 | Add many tests for RFC7540 5.1 and 5.1.1 and related fixes | Loïc Hoguin | |
2017-05-23 | Add a test suite for h2spec | Loïc Hoguin | |
h2spec must be preinstalled on the machine and its location pointed at by the H2SPEC environment variable. | |||
2017-05-20 | Add another RFC to the list of specs | Loïc Hoguin | |
2017-05-19 | Update to 2.0.0-pre.92.0.0-pre.9 | Loïc Hoguin | |
2017-05-19 | Preliminary h2 flow control support | Loïc Hoguin | |
Existing tests pass. A number of things remain to be done. Has only been tested with Gun so far. Feedback welcome! | |||
2017-05-07 | make set_env working with maps. | Alexandre Snarskii | |
2017-05-07 | Add a test for cowboy:set_env | Loïc Hoguin | |
2017-05-05 | Add test for inactivity_timeout option in cowboy_http2 | Gary Rennie | |
The inactivity timeout is used to close the connection in the absence of any data from the client. Since this is not part or the rfc7540 spec, a new http2_SUITE module has been created with a test for the inactivity_timeout. | |||
2017-05-05 | length can be a non_neg_integer or infinity | Steven Magelowitz | |
2017-05-05 | Add OTP 19.3.3 and 20-rc1 to CI; remove OTP 18 | Loïc Hoguin | |
2017-05-05 | Properly handle 101 upgrade responses for Websocket | Loïc Hoguin | |
2017-05-05 | Add inactivity_timeout and other options improvements | Loïc Hoguin | |
2017-05-03 | Kill all children processes when terminating the connection | Loïc Hoguin | |
This is a more or less temporary solution to an existing problem. In the future we will need to enforce a shutdown timeout for these processes. | |||
2017-05-03 | Add the idle_timeout HTTP/1.1 protocol option | Loïc Hoguin | |
This fixes the connection being dropped because of request_timeout despite there being some active streams. |