]> granicus.if.org Git - apache/commitdiff
I think this was missed earlier, and as BeOS doesn't define SO_SNDBUF it was stopping...
authorDavid Reid <dreid@apache.org>
Fri, 8 Oct 1999 12:56:40 +0000 (12:56 +0000)
committerDavid Reid <dreid@apache.org>
Fri, 8 Oct 1999 12:56:40 +0000 (12:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83949 13f79535-47bb-0310-9956-ffa450edef68

server/listen.c

index 18811a3c41b39a8319ca2cfe5138d791d8211abf..5ded01b0af384a5a0b22b9820e08adefbf240648 100644 (file)
@@ -110,7 +110,7 @@ static ap_status_t make_sock(ap_context_t *p, ap_listen_rec *server)
      * If no size is specified, use the kernel default.
      */
     if (send_buffer_size) {
-       stat = ap_setsocketopt(s, SO_SNDBUF,  send_buffer_size);
+       stat = ap_setsocketopt(s, APR_SO_SNDBUF,  send_buffer_size);
         if (stat != APR_SUCCESS && stat != APR_ENOTIMPL) {
             ap_log_error(APLOG_MARK, APLOG_WARNING, NULL,
                        "make_sock: failed to set SendBufferSize for %s, "