Home
last modified time | relevance | path

Searched refs:sendfile (Results 1 – 16 of 16) sorted by relevance

/unit/auto/
H A Dsendfile14 # Linux sendfile().
16 nxt_feature="Linux sendfile()"
18 nxt_feature_test="#include <sys/sendfile.h>
23 sendfile(-1, -1, &offset, 0);
34 # FreeBSD sendfile().
36 nxt_feature="FreeBSD sendfile()"
62 # MacOSX sendfile().
64 nxt_feature="MacOSX sendfile()"
101 nxt_feature_test="#include <sys/sendfile.h>
144 # HP-UX sendfile().
[all …]
H A Doptions119 --test-build-freebsd-sendfile) NXT_TEST_BUILD_FREEBSD_SENDFILE=YES ;;
120 --test-build-linux-sendfile) NXT_TEST_BUILD_LINUX_SENDFILE=YES ;;
122 --test-build-macosx-sendfile) NXT_TEST_BUILD_MACOSX_SENDFILE=YES ;;
124 --test-build-hpux-sendfile) NXT_TEST_BUILD_HPUX_SENDFILE=YES ;;
/unit/src/
H A Dnxt_hpux_sendfile.c25 sbsize_t sendfile(int s, int fd, off_t offset, bsize_t nbytes,
28 #define nxt_sys_sendfile sendfile
H A Dnxt_conn_connect.c93 c->sendfile = 1; in nxt_conn_socket()
99 c->sendfile = 0; in nxt_conn_socket()
H A Dnxt_conn_write.c260 int rc = sendfile(fd, s, pos, &sent, NULL, 0); in nxt_sendfile()
268 int rc = sendfile(fd, s, pos, size, NULL, &sent, 0); in nxt_sendfile()
274 res = sendfile(s, fd, &pos, size); in nxt_sendfile()
H A Dnxt_macosx_sendfile.c24 #define nxt_sys_sendfile sendfile
H A Dnxt_freebsd_sendfile.c28 #define nxt_sys_sendfile sendfile
H A Dnxt_solaris_sendfilev.c36 if (c->sendfile == 0) { in nxt_solaris_event_conn_io_sendfilev()
H A Dnxt_conn.c78 c->sendfile = NXT_CONN_SENDFILE_UNSET; in nxt_conn_create()
H A Dnxt_linux_sendfile.c35 #define nxt_sys_sendfile sendfile
H A Dnxt_conn.h169 uint8_t sendfile; /* 2 bits */ member
H A Dnxt_cyassl.c215 c->sendfile = NXT_CONN_SENDFILE_OFF; in nxt_cyassl_conn_init()
H A Dnxt_gnutls.c324 c->sendfile = NXT_CONN_SENDFILE_OFF; in nxt_gnutls_conn_init()
H A Dnxt_openssl.c1207 c->sendfile = NXT_CONN_SENDFILE_OFF;
/unit/
H A Dconfigure125 . auto/sendfile
H A DCHANGES549 *) Bugfix: fixed building on platforms without sendfile() support,