Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-15 | Allow websocket_init/1 to reply/close/hibernate | Loïc Hoguin | |
2016-08-15 | Modernize the Websocket test suite | Loïc Hoguin | |
2016-08-12 | Remove Req from the Websocket interface | Loïc Hoguin | |
After the switch to Websocket, we are no longer in a request/response scenario, therefore a lot of the cowboy_req functions do not apply anymore. Any data required from the request will need to be taken from Req in init/2 and saved in the handler's state. | |||
2016-08-12 | Add missing specs to an internal cowboy_req function | Loïc Hoguin | |
2016-08-12 | Merge branch 'master' of https://github.com/camshaft/cowboy | Loïc Hoguin | |
2016-08-12 | Fix Websocket compression | Loïc Hoguin | |
The option for enabling Websocket compression has been renamed. Previously it was shared with HTTP compression, now it's specific to Websocket. The new option is named 'websocket_compress'. | |||
2016-08-11 | Use cow_http_hd:parse_host directly | Loïc Hoguin | |
Removes some duplicate code from cowboy_http. | |||
2016-08-11 | Use integer_to_binary when possible | Loïc Hoguin | |
2016-08-11 | Fix timer-sent events in the websocket example | Loïc Hoguin | |
2016-08-10 | Add specs for the cowboy_req:push/3,4 functions | Loïc Hoguin | |
2016-08-10 | Use binary_to_integer instead of to list and back | Loïc Hoguin | |
2016-08-10 | Let the stream handler take care of crash handling and logging | Loïc Hoguin | |
2016-08-10 | Make reply functions return Req | Loïc Hoguin | |
2016-08-10 | Update the multipart reading interface | Loïc Hoguin | |
Now named read_part/read_part_body, with a verb indicating action. | |||
2016-08-10 | Remove logic to always send a response in cowboy_loop | Loïc Hoguin | |
This is taken care of at the protocol level now. | |||
2016-08-10 | Add a lot of todos | Loïc Hoguin | |
2016-08-10 | Add tests for responses and request body reading | Loïc Hoguin | |
This is a large commit. The cowboy_req interface has largely changed, and will change a little more. It's possible that some examples or tests have not been converted to the new interface yet. The documentation has not yet been updated. All of this will be fixed in smaller subsequent commits. Gotta start somewhere... | |||
2016-06-27 | send resp_headers with websocket responses | Cameron Bytheway | |
2016-06-22 | Remove cowboy_req:get and set | Loïc Hoguin | |
2016-06-22 | Remove cowboy_req:append_buffer/2 | Loïc Hoguin | |
2016-06-22 | Remove unused local function in cowboy_req | Loïc Hoguin | |
2016-06-22 | Remove cowboy_req:set_bindings/4 | Loïc Hoguin | |
2016-06-22 | Remove cowboy_req:lock/1 | Loïc Hoguin | |
2016-06-22 | Remove cowboy_req:to_list/1 | Loïc Hoguin | |
2016-06-21 | Remove the meta functions from cowboy_req | Loïc Hoguin | |
Now that we have a public map they are pretty much pointless. | |||
2016-06-21 | Add cowboy_req:uri/1,2 | Loïc Hoguin | |
Along with more cowboy_req tests. This commit also removes cowboy_req:url/1 and cowboy_req:host_url/1 in favor of the much more powerful new set of functions. | |||
2016-06-21 | Remove cowboy_req:new/14 | Loïc Hoguin | |
This internal function is no longer necessary. | |||
2016-06-20 | Add cowboy_req:scheme/1 | Loïc Hoguin | |
2016-06-20 | Properly parse the host/port in HTTP/2 | Loïc Hoguin | |
2016-06-20 | Fix cowboy_req:peer/1 | Loïc Hoguin | |
2016-06-16 | Make sure a response is always sent with HTTP/2 | Loïc Hoguin | |
Previously only DATA was sent, with missing HEADERS. | |||
2016-06-13 | Fix streaming HTTP/2 responses | Loïc Hoguin | |
Error reporting for connection processes has been improved, using a similar proc_lib hack as was done for the stream processes. | |||
2016-06-08 | Fix request body reading in HTTP/2 | Loïc Hoguin | |
2016-06-06 | Escape reserved filename characters | Loïc Hoguin | |
Note that this commit has currently only been tested on Linux. It might be incomplete for other platforms. | |||
2016-06-06 | Static: Fix status code returned with empty path_info | Loïc Hoguin | |
2016-06-06 | Router: properly handle path segments | Loïc Hoguin | |
The path segments . and .. are now removed according to the rules found in RFC3986. The path segments are now percent-decoded using the correct algorithm (the one in RFC3986 and not the "query string" one). | |||
2016-06-06 | REST: Ignore If...Since if If...Match header exists | Loïc Hoguin | |
The If-Modified-Since and If-Unmodified-Since headers are only used when If-None-Match or If-Match were not found, respectively. The latter are preferred by the standard and the former is only there for compatibility with older clients. | |||
2016-06-06 | REST: If-None-Match uses weak Etag comparison | Loïc Hoguin | |
Was badly implemented previously. | |||
2016-06-06 | REST: If-Match uses strong Etag comparison | Loïc Hoguin | |
Weak Etag never matches. | |||
2016-06-06 | Remove the environment from cowboy_rest crash reports | Loïc Hoguin | |
It only serves to pollute logs. | |||
2016-06-06 | HTTP/2: Separate path and query components | Loïc Hoguin | |
2016-06-06 | HTTP/2: Handle internal errors | Loïc Hoguin | |
2016-06-06 | HTTP/2: add support for sending files | Loïc Hoguin | |
2016-06-06 | HTTP/1.1: Don't send 500 errors twice | Loïc Hoguin | |
The stream handler is responsible for sending errors. The protocol should only send errors when no responses were sent (this might not work yet). | |||
2016-06-06 | Report request process crashes | Loïc Hoguin | |
2016-06-06 | Use the correct process type for clear connections | Loïc Hoguin | |
2016-03-13 | Fix most remaining HTTP/2 handshake tests | Loïc Hoguin | |
One category of tests involving the SETTINGS ack still fails. It is probably wise to leave these until more SETTINGS related tests are written. | |||
2016-03-13 | Fix more HTTP/2 handshake test cases | Loïc Hoguin | |
2016-03-12 | Add initial HTTP/1.1 Upgrade to HTTP/2 | Loïc Hoguin | |
The same edge cases that fail with other handshake methods also fail here (mostly bad preface/timeouts stuff). In addition, the HTTP2-Settings header contents are currently not checked and so the related edge case tests also fail. | |||
2016-03-10 | Add the beginning of the rfc7540 test suite | Loïc Hoguin | |
Currently only testing handshake. Tests that pass currently involve no request/response. ALPN and prior knowledge support have some edge cases left to fix. HTTP/1.1 Upgrade has not been implemented yet. |