gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 01/03: Fixed build broken by 6c985f4adcb5b7


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 01/03: Fixed build broken by 6c985f4adcb5b71c2b70a17de0a99468090bfb0d
Date: Wed, 17 Apr 2019 19:45:41 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit d928d17156b9fd5c886a66230ba934938b4dc764
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Wed Apr 17 20:41:26 2019 +0300

    Fixed build broken by 6c985f4adcb5b71c2b70a17de0a99468090bfb0d
---
 src/microhttpd/response.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index 9f328eef..3e93dc80 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -56,6 +56,19 @@
 #endif /* _WIN32 */
 
 
+/**
+ * Size of single file read operation for
+ * file-backed responses.
+ */
+#ifndef MHD_FILE_READ_BLOCK_SIZE
+#ifdef _WIN32
+#define MHD_FILE_READ_BLOCK_SIZE 16384 /* 16k */
+#else /* _WIN32 */
+#define MHD_FILE_READ_BLOCK_SIZE 4096 /* 4k */
+#endif /* _WIN32 */
+#endif /* !MHD_FD_BLOCK_SIZE */
+
+
 /**
  * Add a header or footer line to the response.
  *

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



reply via email to

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