summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys
Commit message (Collapse)AuthorAgeFilesLines
* NO-JIRA: Remove some extra code left in by mergeAndrew Stitcher2012-07-311-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1367696 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4127: Ensure SystemInfo::isLocalHost() returns true for ::1Gordon Sim2012-07-101-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1359855 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix previous TimerTask fix to workaround stupid windows.h symbol ↵Andrew Stitcher2012-07-062-3/+3
| | | | | | corruption git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1358265 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix for potential Timer deadlock issue:Andrew Stitcher2012-07-052-11/+51
| | | | | | | | | | | | | | | | | - Previously we used a mutex to prevent cancelling a TimerTask whilst it was still executing from within its callback in another thread. This violates the principle that you shouldn't hold locks when calling the arbitrary code in a callback, and so is subject to potential deadlock problems. - This fix only works if no timer callback calls TimerTask::cancel(); this is true with the current code. And there is no good reason to call cancel() from within a callback, as cancel is the default behviour in any case - you have to specifically reschedule a recurring timer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1357827 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4021: Badly behaved clients can still clog up the brokerAndrew Stitcher2012-06-282-2/+12
| | | | | | | | | | Ameliorate the problem by only turning timeout off after receiving 3 frames from the sender. This avoids an unauthenticed client causing a DoS by just hanging before completing authentication in most cases. This is far from a good fix, but should mostly avoid the issue until it can be fixed in a neat way. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1355142 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4071: basic porting changes for solaris native compilerClifford Jansen2012-06-172-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1351185 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4049: Linux C++ broker crashes when client connects SSL with expired ↵Andrew Stitcher2012-06-141-0/+2
| | | | | | certificate git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1350406 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add timerTask->cancel to ~AsynchIOHandler.Alan Conway2012-05-281-0/+2
| | | | | | | Observed crashes where timer fires after AsynchIOHandler is deleted. This should prevent such crashes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1343397 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: fix some defects found by Coverity static analysis scan of C++ codeKen Giusti2012-05-251-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1342742 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Rearrange memory status codeAndrew Stitcher2012-05-242-2/+4
| | | | | | Currently only Linux has a useful implementation and everyone else uses a null implementation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1342137 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2518: Qpid C++ broker can easily be blocked by client trying to connect ↵Andrew Stitcher2012-05-213-7/+43
| | | | | | | | over SSL port Implement timed disconnect for SSL git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1341263 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2518: Qpid C++ broker can easily be blocked by client trying to connect ↵Andrew Stitcher2012-05-214-14/+70
| | | | | | | | over SSL port Implement timed disconnect for TCP and for SSL/TCP mux git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1341262 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Implement abort for ssl connectionsAndrew Stitcher2012-05-213-2/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1341261 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4011: TestIsLocalHost unit_test fails with if machine name resolves to ↵Andrew Stitcher2012-05-211-1/+1
| | | | | | | | loopback address Oops - ntohl() can be a macro so specifying ::ntohl() can fail in optimised builds. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1341246 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4011: TestIsLocalHost unit_test fails with if machine name resolves to ↵Andrew Stitcher2012-05-181-11/+28
| | | | | | | | loopback address QPID-3404 - This change also adds support for IPv6 interface addresses to getLocalIpAddresses git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1340279 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4008: added check for INVALID_SOCKET similar to Linux implementationClifford Jansen2012-05-171-7/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1339927 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA backup brokers don't connect to self when searching for primary.Alan Conway2012-05-151-0/+1
| | | | | | Also: BrokerReplicator destroys bridge in destructor. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1338891 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Reduce message for missing lock file from critical to notice.Alan Conway2012-05-141-1/+1
| | | | | | | | If qpidd -q can't find the lock file, it used to issue a critical error message. This is to harsh, not finding the lock file usually just means the broker isn't running. Demoted to a notice message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1338365 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603 Added SystemInfo::isLocalHost Charles E. Rolke2012-05-081-1/+3
| | | | | | Repair r1335562 by including proper header files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1335706 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Added SystemInfo::isLocalHost to check if a host name refers to ↵Alan Conway2012-05-082-25/+63
| | | | | | the local host. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1335562 13f79535-47bb-0310-9956-ffa450edef68
* Don't go through the IOCP wait if the poller is shut down. Fixes QPID-3982.Stephen D. Huston2012-05-051-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1334487 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3759: added lock to prevent two threads deleting same structureClifford Jansen2012-04-201-24/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1328440 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3759: new update for spurious disconnect on close and serializing eventsClifford Jansen2012-04-111-12/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1312058 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3759: reworked fix to be compatible with XPClifford Jansen2012-03-291-15/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1306654 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed unnecessary header file guards from non-header fileAndrew Stitcher2012-03-201-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1303040 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed unnecessary header guard around a non-header fileAndrew Stitcher2012-03-201-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1303038 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2082: Put all of the C++ code in the source tree into a namespaceAndrew Stitcher2012-03-204-18/+15
| | | | | | - This change moves the remaining non-example code in a namespace git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1302988 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3759 hang on heartbeat connection closeClifford Jansen2012-03-191-4/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1302718 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed the long dead apr codeAndrew Stitcher2012-02-2211-801/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1292524 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3864: 0.16 release tasksAndrew Stitcher2012-02-221-0/+38
| | | | | | | - Some more files missed from distlists - File checked into the wrong place initially git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1292518 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3862: Static Trace points for System tap / DtraceAndrew Stitcher2012-02-212-2/+93
| | | | | | | | | | | Added framework to allow static probes in DTRACE_PROBE() format to be added to the qpid code. This will be usable under System Tap for Linux, and DTrace for Solaris and FreeBSD. Also included some initial probes into the low level IO code to see how it performs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291981 13f79535-47bb-0310-9956-ffa450edef68
* more fixes for compilation under fedora 18, new gccNuno Santos2012-02-172-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245757 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Merge new HA foundations.Alan Conway2012-02-171-1/+3
| | | | | | | Merged from qpid-3603-7. This is basic support for the new HA approach. For information & limitations see qpid/cpp/design_docs/new-ha-design.txt. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245587 13f79535-47bb-0310-9956-ffa450edef68
* missing casts and include to be able to compile under fedora 18Nuno Santos2012-02-162-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245195 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed missing return type on Windows stub.Ted Ross2012-02-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1242915 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3824 - Additional queue statistics, posix memory statistics, and ↵Ted Ross2012-02-092-0/+67
| | | | | | broker-scope statistics git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1242526 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3621 cmake build changes for solaris and solaris specific code changesClifford Jansen2012-02-092-5/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1242411 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3620 time conversion fix for sparc architectureClifford Jansen2012-02-091-4/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1242406 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3571 PosixPoller implementationClifford Jansen2012-02-091-0/+793
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1242380 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3787 - Fixed shutdown crash in SslPlugin, Fixed problem with sasl_mux test.Ted Ross2012-01-271-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1236864 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed the handling of functions with ignored return values.Ted Ross2011-11-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1205183 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3608: Improve C++ broker consume performanceAndrew Stitcher2011-11-112-36/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1200925 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3514: Allow SSL and non SSL connections on the same port.Andrew Stitcher2011-11-011-0/+3
| | | | | | | | | - Fixes to allow tcp to report the correct port so that the correct name gets used for the pidfile - Improved the ssl tests: refactoring them, and adding a new test for broker chosen ssl muxed ports git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1196319 13f79535-47bb-0310-9956-ffa450edef68
* NO_JIRA: Small mods to certain log trace and debug messages to improve log ↵Kim van der Riet2011-10-313-6/+6
| | | | | | message consistency git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1195433 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: prevent taking non-head of free group, additional performance tweaksKen Giusti2011-10-281-0/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1190374 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3514: Allow SSL and non-SSL connections on the same port. Applied patch ↵Gordon Sim2011-10-207-136/+283
| | | | | | from Zane Bitter and added simple test case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1187011 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2905 Fixes for mingw cross-compilation (C++)Charles E. Rolke2011-10-171-3/+3
| | | | | | Restore unreachable code for Solaris builds. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1185312 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3476: Demote timer warnings to informational statementsGordon Sim2011-09-081-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1166818 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3455: Don't treat unspecified frame size as implying the minimum value. ↵Gordon Sim2011-08-261-0/+1
| | | | | | Prevent infinite loop when unable to decode frame in SASL security layer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1162060 13f79535-47bb-0310-9956-ffa450edef68
* Don't try setsockopt IPV6_V6ONLY when setting up new socket. Doesn't work on ↵Stephen D. Huston2011-08-251-5/+0
| | | | | | XP. Addresses note I left in QPID-3406. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1161783 13f79535-47bb-0310-9956-ffa450edef68