Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-05-09 | Remove a superfluous function clause in try_match | Anthony Ramine | |
2011-05-05 | Switch the HTTP protocol to use binary packets instead of lists. | Loïc Hoguin | |
The server now does a single recv (or more, but only if needed) which is then sent to erlang:decode_packet/3 multiple times. Since most requests are smaller than the default MTU on many platforms, we benefit from this greatly. In the case of requests with a body, the server usually read at least part of the body on the first recv. This is bufferized properly and used when later retrieving the body. In the case of pipelined requests, we can end up reading many requests in a single recv, which are then handled properly using only the buffer containing the received data. | |||
2011-05-04 | Add cowboy_http_req:port/1. | Loïc Hoguin | |
Returns the port given in the Host header if present, otherwise the default port of 443 for HTTPS and 80 for HTTP is returned. | |||
2011-04-18 | Remove the include/types.hrl file. | Loïc Hoguin | |
2011-04-18 | Move the dispatcher related types into cowboy_dispatcher. | Loïc Hoguin | |
2011-04-18 | Rename match() into match_rule(). | Loïc Hoguin | |
2011-04-18 | Rename dispatch() into dispatch_rules(). | Loïc Hoguin | |
2011-04-14 | Add a test case for cowboy_dispatcher:match/3. | Loïc Hoguin | |
Added it while debugging an issue, so why not keep it? | |||
2011-04-08 | Discard the port from the host before tokenizing it. | Loïc Hoguin | |
2011-03-21 | Fix tests for cowboy_dispatcher:split_path/1. | Loïc Hoguin | |
2011-03-21 | Fix spec for cowboy_dispatcher:split_path/1. | Loïc Hoguin | |
2011-03-20 | Remove a dead code clause for split_path. | Loïc Hoguin | |
2011-03-20 | Save the raw path string in the request. | Loïc Hoguin | |
2011-03-19 | Add support for the '*' path. | Loïc Hoguin | |
Mostly used by the following request: OPTIONS * HTTP/1.1 | |||
2011-03-19 | Rewrite the dispatcher to take a list of host each having a list of paths. | Loïc Hoguin | |
* Makes more sense to parse the host only once instead of for each path. * Allows proper handling of: If the host is not a valid host on the server, the response MUST be a 400 (Bad Request) error. | |||
2011-03-17 | Initial commit. | Loïc Hoguin | |