summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-03-13 20:39:05 +0000
committerAlan Conway <aconway@apache.org>2007-03-13 20:39:05 +0000
commit18266b9714d209bdd4088c3400212c29d42f1068 (patch)
tree268743bd8584214445759225e083f095a9472370
parentad9092cb7131102f33f4555d45b5bbeb21e82f3f (diff)
downloadqpid-python-18266b9714d209bdd4088c3400212c29d42f1068.tar.gz
Merged revisions 497341 via svnmerge from
https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r497341 | gsim | 2007-01-18 03:11:12 -0500 (Thu, 18 Jan 2007) | 3 lines Close connection when connection.close is sent to client. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@517859 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--cpp/lib/common/sys/apr/LFSessionContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/lib/common/sys/apr/LFSessionContext.cpp b/cpp/lib/common/sys/apr/LFSessionContext.cpp
index e0c415a12f..503dfddbb7 100644
--- a/cpp/lib/common/sys/apr/LFSessionContext.cpp
+++ b/cpp/lib/common/sys/apr/LFSessionContext.cpp
@@ -145,8 +145,8 @@ void LFSessionContext::stopProcessing(){
}
void LFSessionContext::close(){
- closing = true;
Mutex::ScopedLock l(writeLock);
+ closing = true;
if(!processing){
//allow pending frames to be written to socket
fd.reqevents = APR_POLLOUT;