From 98ccae7574a18f8d0a1f9e28e86ccfde4541c81f Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 30 Jan 2007 18:20:00 +0000 Subject: * client/* framing/*: fixed client-side request ID processing. * cpp/tests/InProcessBroker.h: For tests: connect to an in-process broker directly, bypass the network. Keeps log of client/broker conversation for verification in test code. * cpp/tests/FramingTest.cpp (testRequestResponseRoundtrip): Client/broker round-trip test for request/reponse IDs and response mark. * APRAcceptor.cpp (APRAcceptor): fixed valgrind uninitialized error. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@501502 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/lib/common/sys/apr/APRAcceptor.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cpp/lib/common/sys') diff --git a/cpp/lib/common/sys/apr/APRAcceptor.cpp b/cpp/lib/common/sys/apr/APRAcceptor.cpp index 10f787f4fe..52384857ed 100644 --- a/cpp/lib/common/sys/apr/APRAcceptor.cpp +++ b/cpp/lib/common/sys/apr/APRAcceptor.cpp @@ -56,10 +56,11 @@ Acceptor::shared_ptr Acceptor::create(int16_t port, int backlog, int threads, bo // Must define Acceptor virtual dtor. Acceptor::~Acceptor() {} - APRAcceptor::APRAcceptor(int16_t port_, int backlog, int threads, bool trace_) : +APRAcceptor::APRAcceptor(int16_t port_, int backlog, int threads, bool trace_) : port(port_), trace(trace_), - processor(APRPool::get(), threads, 1000, 5000000) + processor(APRPool::get(), threads, 1000, 5000000), + running(false) { apr_sockaddr_t* address; CHECK_APR_SUCCESS(apr_sockaddr_info_get(&address, APR_ANYADDR, APR_UNSPEC, port, APR_IPV4_ADDR_OK, APRPool::get())); -- cgit v1.2.1