aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-07-24 10:11:50 +0000
committerng0 <ng0@n0.is>2019-07-24 10:11:50 +0000
commit0b9d7d3bf3a26a512efe404c7ac0044bdd486932 (patch)
tree24bfc81416ab1c2dc20075b7aba864af55206df8 /src/microhttpd
parent2525c5bc207ffe5607acc9d1ebb0472c09d52b45 (diff)
downloadlibmicrohttpd-0b9d7d3bf3a26a512efe404c7ac0044bdd486932.tar.gz
libmicrohttpd-0b9d7d3bf3a26a512efe404c7ac0044bdd486932.zip
attempt fix.
Diffstat (limited to 'src/microhttpd')
-rw-r--r--src/microhttpd/mhd_send.c24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index efb6fedd..7e312b59 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -31,29 +31,7 @@
31 * are used. */ 31 * are used. */
32 32
33#include "mhd_send.h" 33#include "mhd_send.h"
34 34#include "connection.h"
35/**
36 * sendfile() chuck size
37 */
38#define MHD_SENFILE_CHUNK_ (0x20000)
39
40/**
41 * sendfile() chuck size for thread-per-connection
42 */
43#define MHD_SENFILE_CHUNK_THR_P_C_ (0x200000)
44
45#ifdef HAVE_FREEBSD_SENDFILE
46#ifdef SF_FLAGS
47/**
48 * FreeBSD sendfile() flags
49 */
50static int freebsd_sendfile_flags_;
51
52/**
53 * FreeBSD sendfile() flags for thread-per-connection
54 */
55static int freebsd_sendfile_flags_thd_p_c_;
56#endif /* SF_FLAGS */
57 35
58/** 36/**
59 * Set socket to nodelay, on or off. 37 * Set socket to nodelay, on or off.