summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Short <zul@gentoo.org>2004-04-06 01:02:27 +0000
committerChuck Short <zul@gentoo.org>2004-04-06 01:02:27 +0000
commit186a7394100862ec3bd7470706e42544eb0f8fc2 (patch)
treeea0017de5265be4da4c90faefd9d41b5eff2f0b5 /net-www/apache/files/httpd-2.0.48-ipv6.patch
parentAdded ~sparc, #46909 (Manifest recommit) (diff)
downloadgentoo-2-186a7394100862ec3bd7470706e42544eb0f8fc2.tar.gz
gentoo-2-186a7394100862ec3bd7470706e42544eb0f8fc2.tar.bz2
gentoo-2-186a7394100862ec3bd7470706e42544eb0f8fc2.zip
Fixed ipv6 error on listen,closes #32389.
Diffstat (limited to 'net-www/apache/files/httpd-2.0.48-ipv6.patch')
-rw-r--r--net-www/apache/files/httpd-2.0.48-ipv6.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/net-www/apache/files/httpd-2.0.48-ipv6.patch b/net-www/apache/files/httpd-2.0.48-ipv6.patch
new file mode 100644
index 000000000000..1e7b3dedd8c6
--- /dev/null
+++ b/net-www/apache/files/httpd-2.0.48-ipv6.patch
@@ -0,0 +1,23 @@
+--- httpd-2.0.48/server/.orig/listen.c 2003-12-10 11:40:28.000000000 -0600
++++ httpd-2.0.48/server/listen.c 2003-12-10 11:41:26.000000000 -0600
+@@ -117,20 +117,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
+ * speed we must force the TCP window to open wide enough to keep the