Searched hist:"4 d756307806b581ce8582deb291baf78e89c6701" (Results 1 – 1 of 1) sorted by relevance
/freebsd/lib/libc/net/ |
H A D | getaddrinfo.c | diff 4d756307806b581ce8582deb291baf78e89c6701 Wed Mar 25 17:23:43 CET 2009 Hajimu UMEMOTO <ume@FreeBSD.org> Add support for SCTP to getaddrinfo(3). Now, getaddrinfo(3) returns two SOCK_STREAMs, IPPROTO_TCP and IPPROTO_SCTP. It confuses some programs. If getaddrinfo(3) returns IPPROTO_SCTP when SOCK_STREAM is specified by hints.ai_socktype, at least Apache doesn't work. So, I made getaddrinfo(3) to return IPPROTO_SCTP with SOCK_STREAM only when IPPROTO_SCTP is specified explicitly by hints.ai_protocol.
PR: bin/128167 Submitted by: Bruce Cran <bruce__at__cran.org.uk> (partly) MFC after: 2 week diff 4d756307806b581ce8582deb291baf78e89c6701 Wed Mar 25 17:23:43 CET 2009 Hajimu UMEMOTO <ume@FreeBSD.org> Add support for SCTP to getaddrinfo(3). Now, getaddrinfo(3) returns two SOCK_STREAMs, IPPROTO_TCP and IPPROTO_SCTP. It confuses some programs. If getaddrinfo(3) returns IPPROTO_SCTP when SOCK_STREAM is specified by hints.ai_socktype, at least Apache doesn't work. So, I made getaddrinfo(3) to return IPPROTO_SCTP with SOCK_STREAM only when IPPROTO_SCTP is specified explicitly by hints.ai_protocol.
PR: bin/128167 Submitted by: Bruce Cran <bruce__at__cran.org.uk> (partly) MFC after: 2 week
|