Loïc Hoguin
|
4c4030a792
Send a meaningful error to error_logger on handler crashes.
|
14 лет назад |
Anthony Ramine
|
0ca8f1364b
Implement path_info feature
|
14 лет назад |
Loïc Hoguin
|
420f5baf98
Add chunked reply support.
|
14 лет назад |
Loïc Hoguin
|
29e71cf4da
Switch the HTTP protocol to use binary packets instead of lists.
|
14 лет назад |
Loïc Hoguin
|
6c1f73c53c
Add cowboy_http_req:port/1.
|
14 лет назад |
Loïc Hoguin
|
c044fa9602
Remove the next_request function always matching its first clause.
|
14 лет назад |
Loïc Hoguin
|
e8286e18e6
Remove the include/types.hrl file.
|
14 лет назад |
Loïc Hoguin
|
2beb5c8206
Move the dispatcher related types into cowboy_dispatcher.
|
14 лет назад |
Loïc Hoguin
|
ef2673b61e
Rename dispatch() into dispatch_rules().
|
14 лет назад |
Loïc Hoguin
|
15dc645596
Use the inet:socket() type instead of the user-defined one.
|
14 лет назад |
Loïc Hoguin
|
73b120b68e
Fix a pattern matching bug in cowboy_http_protocol:handler_init/2.
|
14 лет назад |
Loïc Hoguin
|
6ec20b736e
Limit the number of empty lines to allow before the request-line.
|
14 лет назад |
Loïc Hoguin
|
0fad6c6fde
Don't crash on errors while receiving headers; throw an error 500 instead.
|
14 лет назад |
Loïc Hoguin
|
d8a2fcf258
Don't automatically retrieve the peer information for the 'OPTIONS' method.
|
14 лет назад |
Loïc Hoguin
|
44e6f60b91
Handle properly the default Connection value for HTTP/1.0.
|
14 лет назад |
Loïc Hoguin
|
d0d9b0e8b3
Use a more efficient variant of string:to_lower to improve performance.
|
14 лет назад |
Loïc Hoguin
|
5726aa3d85
Match early in connection_to_atom for a small performance improvement.
|
14 лет назад |
Loïc Hoguin
|
9fe8141d2a
Allow Handler:init/3 to request a protocol upgrade.
|
14 лет назад |
Loïc Hoguin
|
7888be00d2
Forward transport and protocol name to Handler:init.
|
14 лет назад |
Loïc Hoguin
|
c3a36246b5
Explicitly ignore the return value of cowboy_http_req:reply in error_response.
|
14 лет назад |
Loïc Hoguin
|
c366343ac6
Fix spec for cowboy_http_protocol:init/3.
|
14 лет назад |
Loïc Hoguin
|
7cacb88fec
Introduce cowboy_http_req:body/1 to read the full request body.
|
14 лет назад |
Loïc Hoguin
|
e9781e77f1
Make sure error_response always returns ok.
|
14 лет назад |
Loïc Hoguin
|
e3dc9b2694
Add specs to ensure_response and change the clauses order.
|
14 лет назад |
Loïc Hoguin
|
8b02992e6a
Skip the request body if it hasn't been read by the handler.
|
14 лет назад |
Loïc Hoguin
|
e40001a884
Ensure a response is sent when the handler doesn't reply anything.
|
14 лет назад |
Loïc Hoguin
|
a1e56a2fba
Move the error response code into a separate function.
|
14 лет назад |
Loïc Hoguin
|
71b31cee92
Make sure we can only reply to an HTTP request inside Handler:handle.
|
14 лет назад |
Loïc Hoguin
|
d69d0adfa7
Lazy-retrieve the peer name and port to avoid wasting time each request.
|
14 лет назад |
Loïc Hoguin
|
f5e7178651
Change a @todo for Handler:init possible return values.
|
14 лет назад |