Author: aconway
Date: Tue Mar 13 13:39:05 2007
New Revision: 517859
URL: http://svn.apache.org/viewvc?view=rev&rev=517859
Log:
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.
........
Modified:
incubator/qpid/branches/qpid.0-9/ (props changed)
incubator/qpid/branches/qpid.0-9/cpp/lib/common/sys/apr/LFSessionContext.cpp
Propchange: incubator/qpid/branches/qpid.0-9/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Tue Mar 13 13:39:05 2007
@@ -1 +1 @@
-/incubator/qpid/trunk/qpid:1-492620,492636,492641,492756,493126-493151,494540,494553,494587,495629,495661,496317,496665,496678
+/incubator/qpid/trunk/qpid:1-492620,492636,492641,492756,493126-493151,494540,494553,494587,495629,495661,496317,496665,496678,497341
Modified:
incubator/qpid/branches/qpid.0-9/cpp/lib/common/sys/apr/LFSessionContext.cpp
URL:
http://svn.apache.org/viewvc/incubator/qpid/branches/qpid.0-9/cpp/lib/common/sys/apr/LFSessionContext.cpp?view=diff&rev=517859&r1=517858&r2=517859
==============================================================================
---
incubator/qpid/branches/qpid.0-9/cpp/lib/common/sys/apr/LFSessionContext.cpp
(original)
+++
incubator/qpid/branches/qpid.0-9/cpp/lib/common/sys/apr/LFSessionContext.cpp
Tue Mar 13 13:39:05 2007
@@ -145,8 +145,8 @@
}
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;