diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2012-11-20 17:16:11 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2012-11-20 17:16:11 +0000 |
| commit | 5aac7f448a513687dca2be93996c1d645fb668f7 (patch) | |
| tree | adead91b692175c2141e1af0d521378908dc89b3 /cpp/src/qpid/sys/windows/AsynchIO.cpp | |
| parent | fc4472ab30f5fc6df5722341b30abd69bd2040bb (diff) | |
| download | qpid-python-5aac7f448a513687dca2be93996c1d645fb668f7.tar.gz | |
QPID-4447: C++ Client can hang during connect if heartbeat disconnect fires
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1411750 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/windows/AsynchIO.cpp')
| -rw-r--r-- | cpp/src/qpid/sys/windows/AsynchIO.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/windows/AsynchIO.cpp b/cpp/src/qpid/sys/windows/AsynchIO.cpp index 7dcc5c5846..d8aa6efda7 100644 --- a/cpp/src/qpid/sys/windows/AsynchIO.cpp +++ b/cpp/src/qpid/sys/windows/AsynchIO.cpp @@ -198,6 +198,7 @@ public: ConnectedCallback connCb, FailedCallback failCb = 0); void start(Poller::shared_ptr poller); + void requestCallback(RequestCallback rCb); }; AsynchConnector::AsynchConnector(const Socket& sock, @@ -223,6 +224,13 @@ void AsynchConnector::start(Poller::shared_ptr) } } +// This can never be called in the current windows code as connect +// is blocking and requestCallback only makes sense if connect is +// non-blocking with the results returned via a poller callback. +void AsynchConnector::requestCallback(RequestCallback rCb) +{ +} + } // namespace windows AsynchAcceptor* AsynchAcceptor::create(const Socket& s, |
