aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http_protocol.erl
AgeCommit message (Expand)Author
2011-05-09Implement path_info featureAnthony Ramine
2011-05-08Add chunked reply support.Loïc Hoguin
2011-05-05Switch the HTTP protocol to use binary packets instead of lists.Loïc Hoguin
2011-05-04Add cowboy_http_req:port/1.Loïc Hoguin
2011-04-30Remove the next_request function always matching its first clause.Loïc Hoguin
2011-04-18Remove the include/types.hrl file.Loïc Hoguin
2011-04-18Move the dispatcher related types into cowboy_dispatcher.Loïc Hoguin
2011-04-18Rename dispatch() into dispatch_rules().Loïc Hoguin
2011-04-18Use the inet:socket() type instead of the user-defined one.Loïc Hoguin
2011-04-12Fix a pattern matching bug in cowboy_http_protocol:handler_init/2.Loïc Hoguin
2011-04-09Limit the number of empty lines to allow before the request-line.Loïc Hoguin
2011-04-07Don't crash on errors while receiving headers; throw an error 500 instead.Loïc Hoguin
2011-04-05Don't automatically retrieve the peer information for the 'OPTIONS' method.Loïc Hoguin
2011-04-05Handle properly the default Connection value for HTTP/1.0.Loïc Hoguin
2011-03-27Use a more efficient variant of string:to_lower to improve performance.Loïc Hoguin
2011-03-27Match early in connection_to_atom for a small performance improvement.Loïc Hoguin
2011-03-22Allow Handler:init/3 to request a protocol upgrade.Loïc Hoguin
2011-03-22Forward transport and protocol name to Handler:init.Loïc Hoguin
2011-03-22Explicitly ignore the return value of cowboy_http_req:reply in error_response.Loïc Hoguin
2011-03-21Fix spec for cowboy_http_protocol:init/3.Loïc Hoguin
2011-03-21Introduce cowboy_http_req:body/1 to read the full request body.Loïc Hoguin
2011-03-21Make sure error_response always returns ok.Loïc Hoguin
2011-03-21Add specs to ensure_response and change the clauses order.Loïc Hoguin
2011-03-21Skip the request body if it hasn't been read by the handler.Loïc Hoguin
2011-03-20Ensure a response is sent when the handler doesn't reply anything.Loïc Hoguin
2011-03-20Move the error response code into a separate function.Loïc Hoguin
2011-03-20Make sure we can only reply to an HTTP request inside Handler:handle.Loïc Hoguin
2011-03-20Lazy-retrieve the peer name and port to avoid wasting time each request.Loïc Hoguin
2011-03-20Change a @todo for Handler:init possible return values.Loïc Hoguin
2011-03-20Rename a variable in cowboy_http_protocol for clarity.Loïc Hoguin
2011-03-20Allow code reloading inside the cowboy_http_protocol module during keep-alive.Loïc Hoguin
2011-03-20Default the connection to keep-alive on HTTP/1.1 and close on 1.0.Loïc Hoguin
2011-03-20Save the raw path string in the request.Loïc Hoguin
2011-03-19Save the raw host string in the request.Loïc Hoguin
2011-03-19Protect the calls to the handler using catch.Loïc Hoguin
2011-03-19Add support for the '*' path.Loïc Hoguin
2011-03-19Rewrite the dispatcher to take a list of host each having a list of paths.Loïc Hoguin
2011-03-19Ignore all extra Host values sent in the request.Loïc Hoguin
2011-03-19Reply with error 501 on all non absolute path URIs for now.Loïc Hoguin
2011-03-19Reply with error 400 on all bad Request-Lines received.Loïc Hoguin
2011-03-19Ignore empty lines when expecting the Request-Line.Loïc Hoguin
2011-03-19Comparisons of host names MUST be case-insensitive.Loïc Hoguin
2011-03-19Notify the client that we're closing the connection after the error reply.Loïc Hoguin
2011-03-18Move the reply function to cowboy_http_req.Loïc Hoguin
2011-03-18Introduce Handler:terminate to cleanup the handler's state.Loïc Hoguin
2011-03-18Handler:init/2 should also return the Request in case it changed.Loïc Hoguin
2011-03-18Introduce Handler:init/2 for initializing the handler state.Loïc Hoguin
2011-03-17Remove a superfluous terminate call in error_terminate.Loïc Hoguin
2011-03-17Run the dispatcher as early as possible to quickly dismiss 404 errors.Loïc Hoguin
2011-03-17Initial commit.Loïc Hoguin