summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/OutgoingAsync.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2003-02-06 20:39:02 +0000
committerMarc Laukien <marc@zeroc.com>2003-02-06 20:39:02 +0000
commit8c47a19fe0a38c6c9a6e97b7859df7f9b5a8b6fb (patch)
tree8fd580420dad30c88fc38c5e8940b9e68ffed297 /cpp/src/Ice/OutgoingAsync.cpp
parentdo not use Ice version in service shared library name (diff)
downloadice-8c47a19fe0a38c6c9a6e97b7859df7f9b5a8b6fb.tar.bz2
ice-8c47a19fe0a38c6c9a6e97b7859df7f9b5a8b6fb.tar.xz
ice-8c47a19fe0a38c6c9a6e97b7859df7f9b5a8b6fb.zip
encaps fixes
Diffstat (limited to 'cpp/src/Ice/OutgoingAsync.cpp')
-rw-r--r--cpp/src/Ice/OutgoingAsync.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/Ice/OutgoingAsync.cpp b/cpp/src/Ice/OutgoingAsync.cpp
index 33d6a544b98..bb81b58f445 100644
--- a/cpp/src/Ice/OutgoingAsync.cpp
+++ b/cpp/src/Ice/OutgoingAsync.cpp
@@ -79,7 +79,10 @@ IceInternal::OutgoingAsync::__setup(const ConnectionPtr& connection, const Refer
void
IceInternal::OutgoingAsync::__invoke()
{
+ _os->endWriteEncaps();
+
_connection->sendAsyncRequest(this);
+
if(_connection->timeout() >= 0)
{
_absoluteTimeout = IceUtil::Time::now() + IceUtil::Time::milliSeconds(_connection->timeout());