diff options
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. |