commit 0b9d7d3bf3a26a512efe404c7ac0044bdd486932 parent 2525c5bc207ffe5607acc9d1ebb0472c09d52b45 Author: ng0 <ng0@n0.is> Date: Wed, 24 Jul 2019 10:11:50 +0000 attempt fix. Diffstat:
| M | src/microhttpd/mhd_send.c | | | 24 | +----------------------- |
1 file changed, 1 insertion(+), 23 deletions(-)
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c @@ -31,29 +31,7 @@ * are used. */ #include "mhd_send.h" - -/** - * sendfile() chuck size - */ -#define MHD_SENFILE_CHUNK_ (0x20000) - -/** - * sendfile() chuck size for thread-per-connection - */ -#define MHD_SENFILE_CHUNK_THR_P_C_ (0x200000) - -#ifdef HAVE_FREEBSD_SENDFILE -#ifdef SF_FLAGS -/** - * FreeBSD sendfile() flags - */ -static int freebsd_sendfile_flags_; - -/** - * FreeBSD sendfile() flags for thread-per-connection - */ -static int freebsd_sendfile_flags_thd_p_c_; -#endif /* SF_FLAGS */ +#include "connection.h" /** * Set socket to nodelay, on or off.