summaryrefslogtreecommitdiff
blob: 46f8f85e5fa1d272638da7b06856c6a386c534d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- httpd-2.0.49/server/.orig/listen.c	2004-03-24 18:01:40.000000000 -0600
+++ httpd-2.0.49/server/listen.c	2004-03-24 18:07:30.000000000 -0600
@@ -74,19 +74,6 @@
         return stat;
     }
 
-#if APR_HAVE_IPV6
-    if (server->bind_addr->family == APR_INET6) {
-        stat = apr_socket_opt_set(s, APR_IPV6_V6ONLY, v6only_setting);
-        if (stat != APR_SUCCESS && stat != APR_ENOTIMPL) {
-            ap_log_perror(APLOG_MARK, APLOG_CRIT, stat, p,
-                          "make_sock: for address %pI, apr_socket_opt_set: "
-                          "(IPV6_V6ONLY)",
-                          server->bind_addr);
-            apr_socket_close(s);
-            return stat;
-        }
-    }
-#endif
 
     /*
      * To send data over high bandwidth-delay connections at full