Loïc Hoguin
|
f5e7178651
Change a @todo for Handler:init possible return values.
|
14 years ago |
Loïc Hoguin
|
a3fff2f5b0
Rename a variable in cowboy_http_protocol for clarity.
|
14 years ago |
Loïc Hoguin
|
df35916d2a
Allow code reloading inside the cowboy_http_protocol module during keep-alive.
|
14 years ago |
Loïc Hoguin
|
c4d4b6a051
Rename the title for Getting Started in the README.
|
14 years ago |
Loïc Hoguin
|
6fad3f7824
Default the connection to keep-alive on HTTP/1.1 and close on 1.0.
|
14 years ago |
Loïc Hoguin
|
896b854908
Remove a dead code clause for split_path.
|
14 years ago |
Loïc Hoguin
|
b874b28561
Save the raw path string in the request.
|
14 years ago |
Loïc Hoguin
|
8085529f48
Save the raw host string in the request.
|
14 years ago |
Loïc Hoguin
|
bd3a646316
Protect the calls to the handler using catch.
|
14 years ago |
Loïc Hoguin
|
a4f8bb6573
Add support for the '*' path.
|
14 years ago |
Loïc Hoguin
|
2c52a30b0a
Rewrite the dispatcher to take a list of host each having a list of paths.
|
14 years ago |
Loïc Hoguin
|
ebe638165e
Ignore all extra Host values sent in the request.
|
14 years ago |
Loïc Hoguin
|
673c7e2cb5
Reply with error 501 on all non absolute path URIs for now.
|
14 years ago |
Loïc Hoguin
|
7ef67d08fe
Reply with error 400 on all bad Request-Lines received.
|
14 years ago |
Loïc Hoguin
|
c9eb3ce5fc
Ignore empty lines when expecting the Request-Line.
|
14 years ago |
Loïc Hoguin
|
db715a3eb1
Comparisons of host names MUST be case-insensitive.
|
14 years ago |
Loïc Hoguin
|
2131a935e6
Notify the client that we're closing the connection after the error reply.
|
14 years ago |
Loïc Hoguin
|
408f167621
Move the reply function to cowboy_http_req.
|
14 years ago |
Loïc Hoguin
|
c6ad0273a8
Introduce Handler:terminate to cleanup the handler's state.
|
14 years ago |
Loïc Hoguin
|
5e80e4baac
Handler:init/2 should also return the Request in case it changed.
|
14 years ago |
Loïc Hoguin
|
f53235549d
Introduce Handler:init/2 for initializing the handler state.
|
14 years ago |
Loïc Hoguin
|
a77b906b9f
Don't crash on Transport:controlling_process return in the acceptor.
|
14 years ago |
Loïc Hoguin
|
0069e2465d
Remove a superfluous terminate call in error_terminate.
|
14 years ago |
Loïc Hoguin
|
786a05a129
Run the dispatcher as early as possible to quickly dismiss 404 errors.
|
14 years ago |
Loïc Hoguin
|
da72255940
Initial commit.
|
14 years ago |