diff options
| author | Alan Conway <aconway@apache.org> | 2009-02-04 20:47:14 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-02-04 20:47:14 +0000 |
| commit | 5b50014477ef0b9096c017af8fb85ac5693e673e (patch) | |
| tree | f4188e6b16cd304e76e2326aca2f13f1d32fc368 /cpp/src/qpid/cluster/OutputInterceptor.h | |
| parent | f847d041bc6bf18246bddeff2a219dcbdfa9620c (diff) | |
| download | qpid-python-5b50014477ef0b9096c017af8fb85ac5693e673e.tar.gz | |
Fix assertion due to doOutput control being sent after local connection closed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@740872 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/OutputInterceptor.h')
| -rw-r--r-- | cpp/src/qpid/cluster/OutputInterceptor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/OutputInterceptor.h b/cpp/src/qpid/cluster/OutputInterceptor.h index 6cf381178d..c080a419e1 100644 --- a/cpp/src/qpid/cluster/OutputInterceptor.h +++ b/cpp/src/qpid/cluster/OutputInterceptor.h @@ -53,7 +53,7 @@ class OutputInterceptor : public sys::ConnectionOutputHandler, sys::LatencyMetri // Intercept doOutput requests on Connection. bool doOutput(); - void setOutputHandler(sys::ConnectionOutputHandler& h); + void closeOutput(sys::ConnectionOutputHandler& h); cluster::Connection& parent; @@ -63,6 +63,7 @@ class OutputInterceptor : public sys::ConnectionOutputHandler, sys::LatencyMetri void sendDoOutput(); mutable sys::Mutex lock; + bool closing; sys::ConnectionOutputHandler* next; size_t sent; size_t lastDoOutput; |
