summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys
Commit message (Collapse)AuthorAgeFilesLines
* Added AbsTime::epoch()) constant to Time.h to provide a portable reference ↵Alan Conway2010-04-072-0/+6
| | | | | | time point. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931656 13f79535-47bb-0310-9956-ffa450edef68
* Fixed bug that caused a busy-wait if an item was pushed to a stopped queue.Alan Conway2010-03-301-1/+1
| | | | | | | | Was causing cluster brokers to consume a lot of CPU when new brokers joined the group. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929277 13f79535-47bb-0310-9956-ffa450edef68
* Remove dead PeriodicTimer code.Alan Conway2010-03-303-153/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929273 13f79535-47bb-0310-9956-ffa450edef68
* More generous overrun threshold for cluster timer to avoid excessive warnings.Alan Conway2010-03-252-15/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927383 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2412: Support for EXTERNAL mechanism on client-authenticated SSL ↵Gordon Sim2010-03-0511-30/+152
| | | | | | | | | | | | connections. On SSL connection where the clients certificate is authenticated (requires the --ssl-require-client-authentication option at present), the clients identity will be taken from that certificate (it will be the CN with any DCs present appended as the domain, e.g. CN=bob,DC=acme,DC=com would result in an identity of bob@acme.com). This will enable the EXTERNAL mechanism when cyrus sasl is in use. The client can still negotiate their desired mechanism. There is a new option on the ssl module (--ssl-sasl-no-dict) that allows the options on ssl connections to be restricted to those that are not vulnerable to dictionary attacks (EXTERNAL being the primary example). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@919487 13f79535-47bb-0310-9956-ffa450edef68
* Fix cluster abort on shutdown in ClusterTimer::fire.Alan Conway2010-02-261-1/+3
| | | | | | | | The cluster destructor was not deleting the ClusterTimer set on the broker, so this timer had a dangling pointer to the cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916751 13f79535-47bb-0310-9956-ffa450edef68
* Removed unecessary include of Msg.h in Exception.hAndrew Stitcher2010-02-252-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916453 13f79535-47bb-0310-9956-ffa450edef68
* When handling coalesced sets of SSL segments, ensure the buffer obtained to ↵Stephen D. Huston2010-02-151-2/+9
| | | | | | hold the extra data is big enough. Resolves QPID-2407. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@910338 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2348 - [C++] The HeadersExchange does not support federationTed Ross2010-02-011-0/+18
| | | | | | | Applied patch from Sam Joyce git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@905322 13f79535-47bb-0310-9956-ffa450edef68
* Replace PeriodicTimer with ClusterTimer, which inherits from Timer.Alan Conway2010-01-292-23/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904656 13f79535-47bb-0310-9956-ffa450edef68
* Apply part of patch msvc2005.patch from QPID-2371.Stephen D. Huston2010-01-291-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904563 13f79535-47bb-0310-9956-ffa450edef68
* Added missing QPID_COMMON_EXTERN decorators to fix Windows build. Resolves ↵Stephen D. Huston2010-01-281-2/+5
| | | | | | QPID-2372. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904310 13f79535-47bb-0310-9956-ffa450edef68
* Added PeriodicTimer interface for periodic tasks that need cluster ↵Alan Conway2010-01-274-0/+156
| | | | | | | | | | | synchronization. The ManagementAgent's periodic prociessing uses PeriodicTimer. PeriodicTimerImpl is the default implementation for stand-alone brokers, simple wrapper for sys::Timer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903866 13f79535-47bb-0310-9956-ffa450edef68
* Fix memory error in previous SocketAddress refactoringAndrew Stitcher2010-01-266-33/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903407 13f79535-47bb-0310-9956-ffa450edef68
* Add SSL support for Windows client and broker per QPID-1403. Adds new ↵Stephen D. Huston2010-01-235-9/+854
| | | | | | | | | | | | | AsynchIO::BufferBase::squish() method that does what used to be done by in-place memmove() calls so it can be reused easily. SSL support for Windows is in: - Client: qpid/client/windows/SslConnector.cpp qpid/client/TCPConnector.{h cpp} rearranged a bit to make pieces available to SslConnector - Broker: qpid/broker/windows/SslProtocolFactory.cpp - Common: qpid/sys/windows/SslAsynchIO contains all the Schannel stuff to negotiate a session, encrypt, and decrypt data. The SslAsynchIO acts as a shim between the layer above and the "regular" AsynchIO that actually handles read/write and completions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@902318 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to make Win32 port build again (and remove some warnings)Andrew Stitcher2010-01-212-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901816 13f79535-47bb-0310-9956-ffa450edef68
* Small comment fixAndrew Stitcher2010-01-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901556 13f79535-47bb-0310-9956-ffa450edef68
* Throw sync connect failures straight out of AsynchConnector constructorAndrew Stitcher2010-01-211-19/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901555 13f79535-47bb-0310-9956-ffa450edef68
* Small refactor of AsynchConnector to have a more regular structureAndrew Stitcher2010-01-211-9/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901548 13f79535-47bb-0310-9956-ffa450edef68
* Split out AsynchConnecter::start from constructor (like other AsynchIO classes)Andrew Stitcher2010-01-214-23/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901547 13f79535-47bb-0310-9956-ffa450edef68
* Log detailed error if unexpected socket write error (don't throw anymore)Andrew Stitcher2010-01-211-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901545 13f79535-47bb-0310-9956-ffa450edef68
* Cluster-safe assertions.Alan Conway2010-01-202-0/+107
| | | | | | | | | Assert that replicated data structures are modified in a cluster-safe context - in cluster delivery thread or during update. Assertions added to Queue.cpp and SemanticState.cpp. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901282 13f79535-47bb-0310-9956-ffa450edef68
* Correct new uuid methods for Windows, add QPID_CLIENT_EXTERN where needed.Stephen D. Huston2010-01-182-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900592 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2323: add a Uuid type and allow it as the value of a Variant.Gordon Sim2010-01-152-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899657 13f79535-47bb-0310-9956-ffa450edef68
* Removed dead code: OutputTask::hasOutput and Queue::checkForMessages.Alan Conway2010-01-143-13/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899356 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2210: Rework SocketAddress class to have correct value semantics under ↵Andrew Stitcher2009-12-172-16/+44
| | | | | | copying git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891938 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2281: LockFile class now actually locks the file!Andrew Stitcher2009-12-151-3/+8
| | | | | | [before it just opened the file without locking it] git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891061 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1951: Removed need for Windows versions of ssize_t and pid_tAndrew Stitcher2009-12-154-60/+98
| | | | | | | | - Trivially removed Windows uses of ssize_t - Rearchitected how the Windows port finds an existing qpidd to stop it - Split Posix Lockfile functionality using pids into a new PidFile class git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@890929 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2212: revert previous attempt at fix; disable on windows onlyGordon Sim2009-12-151-75/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@890683 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2216: correct option name in log message for ssl plugin.Gordon Sim2009-12-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889207 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2256: Removed an unnecessary lock that was causing deadlock due to lock ↵Andrew Stitcher2009-12-101-4/+0
| | | | | | inversion git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889073 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2214: Opening and closing client connections causes memory use to grow ↵Andrew Stitcher2009-12-072-27/+63
| | | | | | | | unboundedly - Clean up the DeletionManager state for each thread when the thread exits git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887956 13f79535-47bb-0310-9956-ffa450edef68
* Remove a hardwired reference to nss include directory to allow debian buildAndrew Stitcher2009-11-301-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@885613 13f79535-47bb-0310-9956-ffa450edef68
* Changes to compile under SunCC 5.10Andrew Stitcher2009-11-181-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881679 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1899: Applied patch from Ken Giusti to tie in SASL enctryption to the ↵Gordon Sim2009-11-098-9/+48
| | | | | | handling of the --require-encrypted option git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834108 13f79535-47bb-0310-9956-ffa450edef68
* Automatically add shared library suffix to module name in --load-module.Alan Conway2009-11-041-1/+1
| | | | | | Allows the suffix to be omitted in qpidd.conf or qpidd options so they are portable. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@832853 13f79535-47bb-0310-9956-ffa450edef68
* Ensure connections are done blocking; there's no asynch connect support yet. ↵Stephen D. Huston2009-10-281-1/+1
| | | | | | Fixes intermittent connection hangs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830796 13f79535-47bb-0310-9956-ffa450edef68
* Tidied up dependencies in IOHandle so that it is no longerAndrew Stitcher2009-10-215-28/+36
| | | | | | dependent on the windows implementation classes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828230 13f79535-47bb-0310-9956-ffa450edef68
* Carry over recent AsynchIO-level changes to Windows.Stephen D. Huston2009-10-206-73/+73
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827735 13f79535-47bb-0310-9956-ffa450edef68
* Change threshold for reporting a timer as late from 10 to 50 msec. Resolves ↵Stephen D. Huston2009-10-161-1/+1
| | | | | | QPID-2150. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826093 13f79535-47bb-0310-9956-ffa450edef68
* Rationalised AsynchConnector/Acceptor/IO to all use the same code structureAndrew Stitcher2009-10-163-66/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826032 13f79535-47bb-0310-9956-ffa450edef68
* Fixed tcp nodelay, broken by previous socket code shufflingAndrew Stitcher2009-10-163-15/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826031 13f79535-47bb-0310-9956-ffa450edef68
* Fix creating socket in the wrong place for listen()Andrew Stitcher2009-10-161-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826030 13f79535-47bb-0310-9956-ffa450edef68
* Add new SocketAddress.cpp and requisite adjustments; a few install improvementsStephen D. Huston2009-10-123-29/+104
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@824545 13f79535-47bb-0310-9956-ffa450edef68
* Split Socket::listenAndrew Stitcher2009-10-122-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@824443 13f79535-47bb-0310-9956-ffa450edef68
* Refactored Socket to allow for IPv6 and unix domain socketAndrew Stitcher2009-10-124-34/+48
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@824237 13f79535-47bb-0310-9956-ffa450edef68
* Used new SocketAddress class in rdma codeAndrew Stitcher2009-10-096-45/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823392 13f79535-47bb-0310-9956-ffa450edef68
* Added in passive socket address to SocketAddress and use in Socket::listen()Andrew Stitcher2009-10-092-7/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823391 13f79535-47bb-0310-9956-ffa450edef68
* Split responsibility for name lookup in AsynchConnector::connectAndrew Stitcher2009-10-095-31/+133
| | | | | | into new SocketAddress class. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823390 13f79535-47bb-0310-9956-ffa450edef68
* Change TCP AsynchConnector so that it returns all failures asynchronouslyAndrew Stitcher2009-10-091-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823388 13f79535-47bb-0310-9956-ffa450edef68