summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libwaitress/waitress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libwaitress/waitress.c b/src/libwaitress/waitress.c
index af3cc1a..2910d68 100644
--- a/src/libwaitress/waitress.c
+++ b/src/libwaitress/waitress.c
@@ -808,7 +808,7 @@ static WaitressReturn_t WaitressConnect (WaitressHandle_t *waith) {
fcntl (sock, F_SETFL, O_NONBLOCK);
/* increase socket receive buffer */
- const int sockopt = 256*1024;
+ const int sockopt = 5*1024*1024;
setsockopt (sock, SOL_SOCKET, SO_RCVBUF, &sockopt,
sizeof (sockopt));