aboutsummaryrefslogtreecommitdiffstats
path: root/test/sendfile_SUITE.erl
AgeCommit message (Collapse)Author
2015-08-20More test suites refactoringLoïc Hoguin
They are now properly documented and the listener name is automatically specified thanks to a new ct_helper function.
2015-08-17Beginnings of modernizing the test suiteLoïc Hoguin
Merging because I have to do other work but this is still a nice enough improvement.
2013-11-26Add accept_ack on all transports and ack_timeout transport optionLoïc Hoguin
Doing this in the connection process allows us to free acceptors to start accepting more connections quicker, especially under load.
2013-08-16Add Transport:sendfile/4,/5James Fish
Adds offset based sendfile to transports. Same behaviour as file:sendfile/4,/5 except socket and file arguments are reversed and either a raw file or a filename can be used. sendfile/2,/4,/5 now compulsory callbacks in ranch_transport. ranch_tcp:sendfile/2 now defaults to a chunk_size of 8191 - the default for ranch_ssl:sendfile/2. The same default is used for both ranch_tcp:sendfile/4,5 and ranch_ssl:sendfile/4,5.