gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] 62/154: fix errors.


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 62/154: fix errors.
Date: Mon, 19 Aug 2019 10:16:14 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository libmicrohttpd.

commit 2525c5bc207ffe5607acc9d1ebb0472c09d52b45
Author: ng0 <address@hidden>
AuthorDate: Wed Jul 24 10:08:07 2019 +0000

    fix errors.
---
 src/microhttpd/mhd_send.c | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index ee32a868..efb6fedd 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -32,6 +32,29 @@
 
 #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 */
+
 /**
  * Set socket to nodelay, on or off.
  *

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]