Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-05-04 | Makefile: Add separate eunit and ct test rules. | Loïc Hoguin | |
2011-05-04 | Use http_headers() type in cowboy_http_req:headers/1. | Loïc Hoguin | |
2011-05-03 | Merge remote-tracking branch 'nox/complete-app-file' | Loïc Hoguin | |
2011-05-03 | Add cowboy_sup to the list of registered processes | Anthony Ramine | |
Cowboy top supervisor has a name and it should be clearly stated in its .app.src file. | |||
2011-04-30 | Merge pull request #5 from yrashk/patch-1. | Loïc Hoguin | |
README: added a mentioning of agner dependencies mechanism | |||
2011-04-30 | Merge pull request #4 from nox/erlang-highlighting. | Loïc Hoguin | |
Use syntax highlighted code block in README.md | |||
2011-04-30 | Add backlog transport option. | Loïc Hoguin | |
This fixes issues with the http_load benchmark tool. The default backlog option from OTP only queues up to 5 connections, which is way too low for a fast-responding server. Issue initially found thanks to DeadZen bugging me to test cowboy with http_load. Fix found thanks to ostinelli's misultin already having the backlog option which was the one thing it did differently than cowboy. | |||
2011-04-30 | README: added a mentioning of agner dependencies mechanism | Yurii Rashkovskii | |
2011-04-30 | Use syntax highlighted code block in README.md | Anthony Ramine | |
GitHub just implemented that and we should use it. https://github.com/blog/832-rolling-out-the-redcarpet | |||
2011-04-30 | Remove the next_request function always matching its first clause. | Loïc Hoguin | |
2011-04-29 | Fix type specs for ssl:socket. | Loïc Hoguin | |
Should fix the warnings given by the Dialyzer-current build over at http://dialyzer.softlab.ntua.gr/current/cowboy/ Thanks Kostis for the help. | |||
2011-04-18 | Remove the include/types.hrl file. | Loïc Hoguin | |
2011-04-18 | Replace port_number() by ip_port() from kernel/include/inet.hrl. | Loïc Hoguin | |
2011-04-18 | Replace posix() by atom(), for now. | Loïc Hoguin | |
The type isn't exported by OTP so we don't win much. Also, inet.erl and file.erl define posix() différently, so OTP needs to stop being so confuse in the first place before we can attempt to use it properly. | |||
2011-04-18 | Move the type application_start_type() into cowboy_app. | 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-18 | Rename dispatch_rules() into dispatch_rule(). | Loïc Hoguin | |
2011-04-18 | Move HTTP types definitions to include/http.hrl (for now). | Loïc Hoguin | |
2011-04-18 | Move the opaque type sslsocket() out of include/types.hrl. | Loïc Hoguin | |
2011-04-18 | Use the inet:socket() type instead of the user-defined one. | Loïc Hoguin | |
2011-04-17 | Use the inet:ip_address() type instead of the user-defined one. | Loïc Hoguin | |
2011-04-17 | ct: Throw garbage at the server then check if it's still up. | Loïc Hoguin | |
Basically: cat /dev/urandom | nc host port Only run this test if cat and nc are available. | |||
2011-04-16 | Add an accept timeout for code reloading. | Loïc Hoguin | |
Thought it was already there, but I guess not. Anyway it's here now so everything is back to normal. ;) | |||
2011-04-14 | SSL transport uses sslsocket(), not plain socket(). | Loïc Hoguin | |
2011-04-14 | Initial draft-hixie-thewebsocketprotocol-76 support. | Loïc Hoguin | |
2011-04-14 | Fix specs for cowboy_http_req:reply/4. | Loïc Hoguin | |
Body is iodata(), not iolist(). | |||
2011-04-14 | Fix a bug where dupe headers were sent in cowboy_http_req:reply/4. | Loïc Hoguin | |
Now the server defines default headers that can be overwritten by the handler simply by passing them to the reply/4 function. Default headers include, for now, Connection and Content-Length headers. Note that it isn't enough to change the Connection header to close a keep-alive connection server-side. | |||
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-12 | Add a Transport:messages/0 function to obtain the atoms sent in active mode. | Loïc Hoguin | |
That way we can support active mode without having to hardcode the atoms for each transports available. | |||
2011-04-12 | Don't enable binary optimization warnings by default. | Loïc Hoguin | |
It's problematic: both doing it right and doing it wrong trigger a warning and we treat warnings as errors. | |||
2011-04-12 | Fix a pattern matching bug in cowboy_http_protocol:handler_init/2. | Loïc Hoguin | |
2011-04-10 | ct: Add a test for requests pipelining. | Loïc Hoguin | |
2011-04-09 | ct: Add a test for \n which throws an error 400. | Loïc Hoguin | |
2011-04-09 | Limit the number of empty lines to allow before the request-line. | Loïc Hoguin | |
Defaults to 5. Prevents someone from indefinitely sending empty lines. | |||
2011-04-09 | ct: Add tests for incomplete requests leading to a timeout. | Loïc Hoguin | |
2011-04-09 | ct: Add raw tests to check that errors are properly handled. | Loïc Hoguin | |
2011-04-08 | Initial work on a ct test suite for the HTTP protocol. | Loïc Hoguin | |
Handles two basic tests for both HTTP and HTTPS. Also renames 'make test' into 'make tests'. | |||
2011-04-08 | Discard the port from the host before tokenizing it. | Loïc Hoguin | |
2011-04-07 | Don't crash on errors while receiving headers; throw an error 500 instead. | Loïc Hoguin | |
The server shouldn't crash the request process when we have an error while receiving headers. A case where this could happen is if the header line is too long. See also bfrog's report on ticket #3 on github. | |||
2011-04-05 | Don't automatically retrieve the peer information for the 'OPTIONS' method. | Loïc Hoguin | |
2011-04-05 | Handle properly the default Connection value for HTTP/1.0. | Loïc Hoguin | |
Fixes a bug reported by evaxsoftware on IRC. | |||
2011-04-03 | Add initial SSL transport support. | Loïc Hoguin | |
Code is working but hasn't been benchmarked yet. | |||
2011-04-03 | Add a dialyze verb to the Makefile for convenience. | Loïc Hoguin | |
2011-04-03 | Use rebar instead of ./rebar by default in the Makefile. | Loïc Hoguin | |
2011-04-03 | Fix a grammar error reported by DeadZen on IRC. | Loïc Hoguin | |
2011-04-03 | Don't ignore the return values in cowboy:stop_listener/1. | Loïc Hoguin | |
2011-04-03 | Add an AUTHORS file. | Loïc Hoguin | |