openbsd-ports/www/lighttpd/patches/patch-src_network_h
sthen 3c594e3ee9 lighttpd bugfix: Limit amount of bytes we send in one go; fixes stalling in one
connection and timeouts on slow systems. From upstream via Brad (maintainer)
2011-08-24 21:28:09 +00:00

13 lines
436 B
Plaintext

$OpenBSD: patch-src_network_h,v 1.1 2011/08/24 21:28:09 sthen Exp $
--- src/network.h.orig Tue Sep 1 14:34:54 2009
+++ src/network.h Wed Aug 24 02:50:41 2011
@@ -3,7 +3,7 @@
#include "server.h"
-int network_write_chunkqueue(server *srv, connection *con, chunkqueue *c);
+int network_write_chunkqueue(server *srv, connection *con, chunkqueue *c, off_t max_bytes);
int network_init(server *srv);
int network_close(server *srv);