Ticket #3059 defect closed fixed
twisted.internet.tcp.Client.getPeer incorrectly returns hostnames
| Reported by: | exarkun | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | Branch: | branches/getpeer-hostname-3059-2 | |
| Author: | exarkun | Launchpad Bug: |
Description
If a hostname is passed to connectTCP, it will appear in the peer address. The IPv4Address should always have the IP address instead.
The 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
Note: See
TracTickets for help on using
tickets.
