Subject: | $c->req->hostname is empty for an ipv6-client |
Catalyst::Request seems to call gethostbyaddr to determine the hostname
of a calling client. This works OK for ipv4 clients, but I have problems
using a ipv6 client, in which case the $c->req->hostname becomes undef.
A bit of googling tells me that some adaptions may be needed for IPV6:
http://long.ccaba.upc.es/long/045Guidelines/eva/ipv6.html
Perhaps you could try to use of the new 'getaddrinfo' and 'getnameinfo'
to be more portable?