Subject: | [PATCH] Support for IPv6 |
Date: | Thu, 23 Jul 2009 15:40:47 +0200 |
To: | bug-POE-Component-Server-HTTP <bug-poe-component-server-http [...] rt.cpan.org> |
From: | Michael Stapelberg <michael [...] stapelberg.de> |
Hi,
due to not passing the Domain value when creating the
POE::Component::Server::TCP, ::HTTP is not IPv6 ready. The attached patch
fixes that by using inet_ntop instead of inet_ntoa with the appropriate family
and passing the family to ::TCP. Thus, when creating the ::HTTP with
Domain => AF_INET6, it will work.
Best regards,
Michael
Message body is not shown because sender requested not to inline it.