6 ms·
Minor nit. The sendfile system call requires an open file. nginx can just skip reading the file contents into userspace. Also, BSD has some recent extensions t
by shanemhansen 11y ago
Minor nit. The sendfile system call requires an open file. nginx can just skip reading the file contents into userspace.
Also, BSD has some recent extensions to make sendfile work with ssl [https://people.freebsd.org/~rrs/asiabsd_2015_tls.pdf https://people.freebsd.org/~rrs/asiabsd_2015_tls.pdf] (pdf)