aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJames Fish <[email protected]>2013-04-02 00:49:07 +0100
committerJames Fish <[email protected]>2013-08-16 18:44:24 +0100
commitca6817880ee5592cf890fb5a71da41f52818d29a (patch)
tree79a0bb2b006fab3e1b23d267c0eb06633c37c015 /Makefile
parentc767739ee3e917c9ce3c67827e655f10d6c191f9 (diff)
downloadranch-ca6817880ee5592cf890fb5a71da41f52818d29a.tar.gz
ranch-ca6817880ee5592cf890fb5a71da41f52818d29a.tar.bz2
ranch-ca6817880ee5592cf890fb5a71da41f52818d29a.zip
Add Transport:sendfile/4,/5
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d0e8943..bd48b7c 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ dep_ct_helper = https://github.com/extend/ct_helper.git master
# Options.
COMPILE_FIRST = ranch_transport
-CT_SUITES = acceptor
+CT_SUITES = acceptor sendfile
PLT_APPS = crypto public_key ssl
# Standard targets.