aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_ssl_transport.erl
AgeCommit message (Collapse)Author
2011-07-06Add documentation for the public interface.Loïc Hoguin
This is probably not perfect yet but it should be better than nothing. We'll improve things with feedback received from the many users.
2011-06-21Pass {ip, Ip} configuration through for TCP and SSL transportsHunter Morris
2011-05-25Refresh the type specifications.Loïc Hoguin
Following discussions on #erlounge. Also fixes compilation in R14B03 and fixes a few underspecs dialyzer warnings.
2011-05-24Automatically start crypto, public_key and ssl if needed.Loïc Hoguin
Following mochiweb and misultin's example here even though I'm not too thrilled about starting them and not stopping but it's optional and the application's author can start/stop them as normal anyway.
2011-05-09Increase the default backlog from 128 to 1024.Loïc Hoguin
Improves reliability under heavy load.
2011-04-30Add 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-29Fix 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-18Remove the include/types.hrl file.Loïc Hoguin
2011-04-18Replace port_number() by ip_port() from kernel/include/inet.hrl.Loïc Hoguin
2011-04-18Replace 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-18Move the opaque type sslsocket() out of include/types.hrl.Loïc Hoguin
2011-04-17Use the inet:ip_address() type instead of the user-defined one.Loïc Hoguin
2011-04-16Add 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-14SSL transport uses sslsocket(), not plain socket().Loïc Hoguin
2011-04-12Add 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-03Add initial SSL transport support.Loïc Hoguin
Code is working but hasn't been benchmarked yet.