Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-09-14 | Rework the proc_lib_hack | Loïc Hoguin | |
It is completely removed for connection processes, because assuming Cowboy is written properly this should bring us nothing anymore in 2.0. It is reworked for request processes, there we want to always propagate the stacktrace (including for exits) because we will print a report to help with debugging and proc_lib doesn't propagate it for exits. At the same time the initial callback for connection and request processes has been changed to connection_process and request_process, which should help with identifying processes when inspecting. | |||
2017-09-14 | Improve how we detect request errors | Loïc Hoguin | |
When the request process exits with a {request_error, Reason, Human} exit reason, Cowboy will return a 400 status code instead of 500. Cowboy may also return a more specific status code depending on the error. Currently it may also return 408 or 413. This should prove to be more solid that looking inside the stack trace. | |||
2017-09-05 | Update naming in REST flowcharts | Loïc Hoguin | |
2017-09-05 | Add tests for direct Req access | Loïc Hoguin | |
2017-09-05 | Remove transfer-encoding parsing from cowboy_req | Loïc Hoguin | |
The header never reaches this point. | |||
2017-09-05 | Remove an unused variable | Loïc Hoguin | |
2017-09-04 | Accept sendfile tuple with 0 length in cowboy_req | Loïc Hoguin | |
This will result in no data being sent. It's simply easier to do this than to have to handle 0 size cases in user code. | |||
2017-09-04 | Add a static handler test with an empty file | Loïc Hoguin | |
2017-09-04 | Alphabetical order some tests | Loïc Hoguin | |
2017-09-04 | Fix more documentation todos | Loïc Hoguin | |
I have decided not to include a manual page for cowboy_stream_h at this point because it clashes with the cowboy_stream manual page. This decision will be revisited in the future. | |||
2017-08-29 | Add OTP 20.0.4 to CI | Loïc Hoguin | |
2017-08-23 | Cowboy 2.0.0-rc.22.0.0-rc.2 | Loïc Hoguin | |
2017-08-21 | Tentative fix for out of order queued data | Loïc Hoguin | |
2017-08-21 | Properly clean up timers when terminating | Loïc Hoguin | |
2017-08-14 | Add tests for the streams shutdown mechanism | Loïc Hoguin | |
2017-08-09 | Remove broken links from examples README | Loïc Hoguin | |
2017-08-08 | Add missing cowboy_children module | Loïc Hoguin | |
My bad! Still new at this. | |||
2017-08-08 | Add OTP-20.0.2 to CI | Loïc Hoguin | |
2017-08-08 | Implement the shutdown timeout for request processes | Loïc Hoguin | |
This should work very similar to normal supervisors, in particular during the shutdown sequence when the connection process goes down or switches to Websocket. Processes that need to enforce the shutdown timeout will be required to trap exits, just like in a supervisor. In a vanilla Cowboy, this only matters at connection shutdown, as Cowboy will otherwise wait for the request process to be down before stopping the stream. Tests are currently missing. | |||
2017-07-26 | Fix HTTP/2 server push | Loïc Hoguin | |
Cowboy was encoding the headers then decoding them when initializing the request. The problem is that the encoding and decoding contexts are not the same. Now, Cowboy will directly use the headers it received in the push command for the new request. This is also more efficient. I am surprised it worked at all considering the issue. | |||
2017-07-24 | Update version to 2.0.0-rc.12.0.0-rc.1 | Loïc Hoguin | |
2017-07-24 | Small tweak to the guide | Loïc Hoguin | |
2017-07-23 | Write an initial draft of the streams chapter | Loïc Hoguin | |
2017-07-23 | Remove yet another outdated todo | Loïc Hoguin | |
2017-07-23 | Update the constraints chapter | Loïc Hoguin | |
2017-07-23 | Update the flowchart chapter | Loïc Hoguin | |
2017-07-20 | Add a related RFC for Websocket | Loïc Hoguin | |
This is important because it clarifies that sec-websocket-protocol is case sensitive when matching. Only the registry is case insensitive. | |||
2017-07-20 | Remove cowboy_sub_protocol from the documentation | Loïc Hoguin | |
This will be reintroduced in a future release once the interface stabilizes. For the time being it will be an internal module only. | |||
2017-07-19 | Remove the old architecture chapter | Loïc Hoguin | |
2017-07-19 | Remove the guide chapter about broken clients | Loïc Hoguin | |
None of these workarounds currently exist in Cowboy 2.0. We can resurrect the chapter later if it's still necessary, once we've added the workarounds back in some other form. | |||
2017-07-19 | Fix the name of an option in the migration guide | Loïc Hoguin | |
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 | |