diff options
author | Gordon Sim <gsim@apache.org> | 2007-01-18 08:11:12 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2007-01-18 08:11:12 +0000 |
commit | d81e5cad26f060b64501448d97ae5b6c821dce08 (patch) | |
tree | 97ba90c00330d32285a0edf2a7da359a8063416d /cpp/lib/common | |
parent | 24bef7f59bc9f1b25f74403f47a722c6f35841c4 (diff) | |
download | qpid-python-d81e5cad26f060b64501448d97ae5b6c821dce08.tar.gz |
Close connection when connection.close is sent to client.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497341 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/common')
-rw-r--r-- | cpp/lib/common/sys/apr/LFSessionContext.cpp | 2 |
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 f0804f6c72..9b12747a97 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; |