aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_tcp_transport.erl
AgeCommit message (Collapse)Author
2012-08-27Switch to Ranch for connection handlingLoïc Hoguin
This is the first of many API incompatible changes. You have been warned.
2012-05-23Update version to 0.6.00.6.0Loïc Hoguin
Also update the CHANGELOG and copyright years.
2012-04-29Fix and rework the HTTP test suiteLoïc Hoguin
Use a proper HTTP client to run all tests. This client is currently undocumented and should not be used. Includes a few fixes: * Fix a bug in the max_keepalive test * Fix a bug with max_keepalive handling * Fix a bug in stream_body/1 where data was lost under some conditions The tests now run quite faster than before. All the tests now run twice: once for TCP, once for SSL.
2012-04-06Add sockname/1 to the TCP and SSL transportsAndrew Thompson
2012-03-12Rename inet:ip_port() to inet:port_number()Loïc Hoguin
Thanks go to @superbobry for pointing it out.
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-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-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-18Use the inet:socket() type instead of the user-defined one.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-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-03-22Add cowboy_tcp_transport:name/0 to ease transport identification later on.Loïc Hoguin
2011-03-21Fix spec for cowboy_tcp_transport:close/1.Loïc Hoguin
Apparently the documentation is wrong for gen_tcp:close/1, it returns only ok.
2011-03-17Initial commit.Loïc Hoguin