diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2011-05-26 20:38:52 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2011-05-26 20:38:52 +0000 |
| commit | 7bb094f36079b5b34f635d51f850d3bca086b5f8 (patch) | |
| tree | f22dc8abd292df7e2888cba5f4a26c447c0f19b1 /cpp/src/qpid/sys/windows | |
| parent | 6ead2fd59fedf1967ee133fde0f2e36dcda2fcd4 (diff) | |
| download | qpid-python-7bb094f36079b5b34f635d51f850d3bca086b5f8.tar.gz | |
QPID-3282: Potential bug in circular connection detection:
- make sure that we compare numeric addresses of both local and remote ends
of the connection (previously the remote end could be an unresolved hostname)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1128068 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/windows')
| -rw-r--r-- | cpp/src/qpid/sys/windows/SocketAddress.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/windows/SocketAddress.cpp b/cpp/src/qpid/sys/windows/SocketAddress.cpp index 5efdad0183..ac43cd2d23 100644 --- a/cpp/src/qpid/sys/windows/SocketAddress.cpp +++ b/cpp/src/qpid/sys/windows/SocketAddress.cpp @@ -63,7 +63,7 @@ SocketAddress::~SocketAddress() ::freeaddrinfo(addrInfo); } -std::string SocketAddress::asString() const +std::string SocketAddress::asString(bool) const { return host + ":" + port; } |
