Loïc Hoguin
|
2beb5c8206
Move the dispatcher related types into cowboy_dispatcher.
|
14 years ago |
Loïc Hoguin
|
6712eaa5c8
Rename match() into match_rule().
|
14 years ago |
Loïc Hoguin
|
ef2673b61e
Rename dispatch() into dispatch_rules().
|
14 years ago |
Loïc Hoguin
|
ecf117b375
Rename dispatch_rules() into dispatch_rule().
|
14 years ago |
Loïc Hoguin
|
02d825e003
Move HTTP types definitions to include/http.hrl (for now).
|
14 years ago |
Loïc Hoguin
|
61d755f8cc
Move the opaque type sslsocket() out of include/types.hrl.
|
14 years ago |
Loïc Hoguin
|
15dc645596
Use the inet:socket() type instead of the user-defined one.
|
14 years ago |
Loïc Hoguin
|
9ad32386c0
Use the inet:ip_address() type instead of the user-defined one.
|
14 years ago |
Loïc Hoguin
|
734f57aa8a
ct: Throw garbage at the server then check if it's still up.
|
14 years ago |
Loïc Hoguin
|
8f818d79df
Add an accept timeout for code reloading.
|
14 years ago |
Loïc Hoguin
|
d4985dd72b
SSL transport uses sslsocket(), not plain socket().
|
14 years ago |
Loïc Hoguin
|
cb60d18e82
Initial draft-hixie-thewebsocketprotocol-76 support.
|
14 years ago |
Loïc Hoguin
|
7f35f693fc
Fix specs for cowboy_http_req:reply/4.
|
14 years ago |
Loïc Hoguin
|
c32db277c8
Fix a bug where dupe headers were sent in cowboy_http_req:reply/4.
|
14 years ago |
Loïc Hoguin
|
4048499af2
Add a test case for cowboy_dispatcher:match/3.
|
14 years ago |
Loïc Hoguin
|
bc99200bae
Add a Transport:messages/0 function to obtain the atoms sent in active mode.
|
14 years ago |
Loïc Hoguin
|
aab91c044b
Don't enable binary optimization warnings by default.
|
14 years ago |
Loïc Hoguin
|
73b120b68e
Fix a pattern matching bug in cowboy_http_protocol:handler_init/2.
|
14 years ago |
Loïc Hoguin
|
0ef66b78f7
ct: Add a test for requests pipelining.
|
14 years ago |
Loïc Hoguin
|
f05953516b
ct: Add a test for \n which throws an error 400.
|
14 years ago |
Loïc Hoguin
|
6ec20b736e
Limit the number of empty lines to allow before the request-line.
|
14 years ago |
Loïc Hoguin
|
c79df567be
ct: Add tests for incomplete requests leading to a timeout.
|
14 years ago |
Loïc Hoguin
|
21dc1cc546
ct: Add raw tests to check that errors are properly handled.
|
14 years ago |
Loïc Hoguin
|
3a776b146e
Initial work on a ct test suite for the HTTP protocol.
|
14 years ago |
Loïc Hoguin
|
4cbba84a00
Discard the port from the host before tokenizing it.
|
14 years ago |
Loïc Hoguin
|
0fad6c6fde
Don't crash on errors while receiving headers; throw an error 500 instead.
|
14 years ago |
Loïc Hoguin
|
d8a2fcf258
Don't automatically retrieve the peer information for the 'OPTIONS' method.
|
14 years ago |
Loïc Hoguin
|
44e6f60b91
Handle properly the default Connection value for HTTP/1.0.
|
14 years ago |
Loïc Hoguin
|
04a5aa7c5c
Add initial SSL transport support.
|
14 years ago |
Loïc Hoguin
|
17613e5305
Add a dialyze verb to the Makefile for convenience.
|
14 years ago |