diff options
author | ng0 <ng0@n0.is> | 2019-07-24 10:11:50 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-07-24 10:11:50 +0000 |
commit | 0b9d7d3bf3a26a512efe404c7ac0044bdd486932 (patch) | |
tree | 24bfc81416ab1c2dc20075b7aba864af55206df8 /src/microhttpd | |
parent | 2525c5bc207ffe5607acc9d1ebb0472c09d52b45 (diff) | |
download | libmicrohttpd-0b9d7d3bf3a26a512efe404c7ac0044bdd486932.tar.gz libmicrohttpd-0b9d7d3bf3a26a512efe404c7ac0044bdd486932.zip |
attempt fix.
Diffstat (limited to 'src/microhttpd')
-rw-r--r-- | src/microhttpd/mhd_send.c | 24 |
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 | */ | ||
50 | static int freebsd_sendfile_flags_; | ||
51 | |||
52 | /** | ||
53 | * FreeBSD sendfile() flags for thread-per-connection | ||
54 | */ | ||
55 | static 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. |