Revision: 14797
Author: adrian.chadd
Date: Tue Sep 7 00:36:21 2010
Log: Don't deny v6 client requests. The rest of the codebase now (somewhat)
handles it.
http_port's can't be ipv6 yet though; that parser needs to be fixed. :)
http://code.google.com/p/lusca-cache/source/detail?r=14797
Modified:
/playpen/LUSCA_HEAD_ipv6/src/client_side.c
=======================================
--- /playpen/LUSCA_HEAD_ipv6/src/client_side.c Mon Sep 6 21:39:50 2010
+++ /playpen/LUSCA_HEAD_ipv6/src/client_side.c Tue Sep 7 00:36:21 2010
@@ -2569,14 +2569,6 @@
sqinet_done(&me);
break;
}
- if (sqinet_get_family(&peer) != AF_INET) {
- debug(1, 1) ("httpAccept: FD %d: (%s:%d) is not an IPv4
socket!\n", fd, fd_table[fd].ipaddrstr, fd_table[fd].local_port);
- comm_close(fd);
- sqinet_done(&peer);
- sqinet_done(&me);
- break;
- }
-
F = &fd_table[fd];
debug(33, 4) ("httpAccept: FD %d: accepted port %d client %s:%d\n", fd,
F->local_port, F->ipaddrstr, F->remote_port);
fd_note_static(fd, "client http connect");
--
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en.