[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Libevent-users] Patch: IPv6 support for evhttp_bind_socket*



With this patch evhttp_bind_socket will use IPv6 sockets as well as
IPv4 sockets for the ANY address or use the corresponding address
passed into the second parameter of evhttp_bind_socket. This patch
only modifies the code path where _EVENT_HAVE_GETADDRINFO is defined.
A longer term and more robust solution should setup listening sockets
on all addresses returned by getaddrinfo().

Regards,
Ryan

Attachment: evhttp-ipv6.patch
Description: Binary data