twisted.internet.tcp.Client.getPeer incorrectly returns hostnames
|Reported by:||Jean-Paul Calderone||Owned by:|
branch-diff, diff-cov, branch-cov, buildbot
If a hostname is passed to
connectTCP, it will appear in the peer address. The
IPv4Address should always have the IP address instead.
IConnector returned by
connectTCP seems to have the same problem with its
getDestination method. This is a bit trickier, since the connector is available synchronously, whereas name resolution is asynchronous...
Change History (16)
comment:8 Changed 9 years ago by
|Branch:||branches/getpeer-hostname-3059 → branches/getpeer-hostname-3059-2|