diff options
author | Benoit Foucher <benoit@zeroc.com> | 2008-01-04 12:11:16 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2008-01-04 12:11:16 +0100 |
commit | 99cecc871b86889af0a30aa27eec40a5cadad332 (patch) | |
tree | eeb0b871e5fa2b243781572d3b1ea904fa760fec /cpp/src/Ice/Network.cpp | |
parent | Fixed bug 2599 (diff) | |
download | ice-99cecc871b86889af0a30aa27eec40a5cadad332.tar.bz2 ice-99cecc871b86889af0a30aa27eec40a5cadad332.tar.xz ice-99cecc871b86889af0a30aa27eec40a5cadad332.zip |
- Added missing notifyAll in ConnectRequestHandler (which could cause async
requests to hang if an exception occured during flushing).
- Changed getaddrinfo(0, "0", ...) calls to getaddrinfo(0, "1", ...). Solaris
doesn't recognize "0" as a valid service name.
- Workaround HP-UX compiler bug caused by Glacier2::Instance inlined methods.
Diffstat (limited to 'cpp/src/Ice/Network.cpp')
-rw-r--r-- | cpp/src/Ice/Network.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/Network.cpp b/cpp/src/Ice/Network.cpp index be8e03e6402..002ea18b780 100644 --- a/cpp/src/Ice/Network.cpp +++ b/cpp/src/Ice/Network.cpp @@ -323,7 +323,7 @@ getAddressImpl(const string& host, int port, struct sockaddr_storage& addr, Prot { if(host.empty()) { - rs = getaddrinfo(0, "0", &hints, &info); + rs = getaddrinfo(0, "1", &hints, &info); } else { @@ -1267,7 +1267,7 @@ IceInternal::getAddresses(const string& host, int port, ProtocolSupport protocol { if(host.empty()) { - rs = getaddrinfo(0, "0", &hints, &info); // Get the address of the loopback interface + rs = getaddrinfo(0, "1", &hints, &info); // Get the address of the loopback interface } else { |