Blame patches/lighttpd-1.4.70.local.patch

Lucio Andrés Illanes Albornoz (arab, vxp) 867ba9
--- lighttpd-1.4.45/src/network.c.orig	2017-01-14 05:05:17.000000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) 867ba9
+++ lighttpd-1.4.45/src/network.c	2018-02-17 20:39:33.920000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) 867ba9
@@ -53,6 +53,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 867ba9
 void
Lucio Andrés Illanes Albornoz (arab, vxp) 867ba9
 network_accept_tcp_nagle_disable (const int fd)
Lucio Andrés Illanes Albornoz (arab, vxp) 867ba9
 {
Lucio Andrés Illanes Albornoz (arab, vxp) 867ba9
+#ifndef __midipix__
Lucio Andrés Illanes Albornoz (arab, vxp) 867ba9
     static int noinherit_tcpnodelay = -1;
Lucio Andrés Illanes Albornoz (arab, vxp) 867ba9
     int opt;
Lucio Andrés Illanes Albornoz (arab, vxp) 867ba9
 
Lucio Andrés Illanes Albornoz (arab, vxp) 867ba9
@@ -70,6 +71,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 867ba9
 
Lucio Andrés Illanes Albornoz (arab, vxp) 867ba9
     opt = 1;
Lucio Andrés Illanes Albornoz (arab, vxp) 867ba9
     (void)setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &opt, sizeof(opt));
Lucio Andrés Illanes Albornoz (arab, vxp) 867ba9
+#endif
Lucio Andrés Illanes Albornoz (arab, vxp) 867ba9
 }
Lucio Andrés Illanes Albornoz (arab, vxp) 867ba9
 
Lucio Andrés Illanes Albornoz (arab, vxp) 867ba9
 static handler_t network_server_handle_fdevent(server *srv, void *context, int revents) {