summaryrefslogtreecommitdiffhomepage
path: root/patches/lighttpd-1.4.67.local.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/lighttpd-1.4.67.local.patch')
-rw-r--r--patches/lighttpd-1.4.67.local.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/lighttpd-1.4.67.local.patch b/patches/lighttpd-1.4.67.local.patch
new file mode 100644
index 00000000..50a2ce94
--- /dev/null
+++ b/patches/lighttpd-1.4.67.local.patch
@@ -0,0 +1,18 @@
+--- lighttpd-1.4.45/src/network.c.orig 2017-01-14 05:05:17.000000000 +0000
++++ lighttpd-1.4.45/src/network.c 2018-02-17 20:39:33.920000000 +0000
+@@ -53,6 +53,7 @@
+ void
+ network_accept_tcp_nagle_disable (const int fd)
+ {
++#ifndef __midipix__
+ static int noinherit_tcpnodelay = -1;
+ int opt;
+
+@@ -70,6 +71,7 @@
+
+ opt = 1;
+ (void)setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &opt, sizeof(opt));
++#endif
+ }
+
+ static handler_t network_server_handle_fdevent(server *srv, void *context, int revents) {