3c594e3ee9
connection and timeouts on slow systems. From upstream via Brad (maintainer)
18 lines
891 B
Plaintext
18 lines
891 B
Plaintext
$OpenBSD: patch-src_base_h,v 1.5 2011/08/24 21:28:09 sthen Exp $
|
|
--- src/base.h.orig Sun Mar 13 13:48:23 2011
|
|
+++ src/base.h Wed Aug 24 02:50:41 2011
|
|
@@ -647,11 +647,9 @@ typedef struct server {
|
|
|
|
fdevent_handler_t event_handler;
|
|
|
|
- int (* network_backend_write)(struct server *srv, connection *con, int fd, chunkqueue *cq);
|
|
- int (* network_backend_read)(struct server *srv, connection *con, int fd, chunkqueue *cq);
|
|
+ int (* network_backend_write)(struct server *srv, connection *con, int fd, chunkqueue *cq, off_t max_bytes);
|
|
#ifdef USE_OPENSSL
|
|
- int (* network_ssl_backend_write)(struct server *srv, connection *con, SSL *ssl, chunkqueue *cq);
|
|
- int (* network_ssl_backend_read)(struct server *srv, connection *con, SSL *ssl, chunkqueue *cq);
|
|
+ int (* network_ssl_backend_write)(struct server *srv, connection *con, SSL *ssl, chunkqueue *cq, off_t max_bytes);
|
|
#endif
|
|
|
|
uid_t uid;
|