All pastes #49395 Raw Edit

Mine

public text v1 · immutable
#49395 ·published 2006-04-15 01:49 UTC
rendered paste body
Index: context.c
===================================================================
--- context.c   (revision 1037)
+++ context.c   (working copy)
@@ -277,6 +277,14 @@
                                          APR_TCP_NODELAY, 0)) != APR_SUCCESS)
             return status;

+        if ((status = apr_socket_opt_set(skt,
+                                         APR_SO_SNDBUF, 128000) != APR_SUCCESS)+            return status;
+
+        if ((status = apr_socket_opt_set(skt,
+                                         APR_SO_RCVBUF, 128000) != APR_SUCCESS)+            return status;
+
         /* Configured. Store it into the connection now. */
         conn->skt = skt;