From cbca97b00d9fad64adcbdc860cd9f8633ca31f96 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 12 Oct 2007 12:06:39 +0000 Subject: Close connection when a framing error is encountered during decoding. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@584143 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/sys/posix/AsynchIO.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpp/src/qpid/sys/posix/AsynchIO.cpp') diff --git a/cpp/src/qpid/sys/posix/AsynchIO.cpp b/cpp/src/qpid/sys/posix/AsynchIO.cpp index 3512363d46..ffb7c867e4 100644 --- a/cpp/src/qpid/sys/posix/AsynchIO.cpp +++ b/cpp/src/qpid/sys/posix/AsynchIO.cpp @@ -157,7 +157,8 @@ void AsynchIO::queueWrite(BufferBase* buff) { } void AsynchIO::queueWriteClose() { - queuedClose = true; + queuedClose = true; + DispatchHandle::rewatchWrite(); } /** Return a queued buffer if there are enough -- cgit v1.2.1