summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/windows
Commit message (Collapse)AuthorAgeFilesLines
* Update from trunk r1375509 through r1450773asyncstoreKim van der Riet2013-02-2813-179/+407
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1451244 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3858: Updated code to include recent refactoring by Gordon (gsim) - see ↵Kim van der Riet2012-08-274-29/+85
| | | | | | QPID-4178. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1377715 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3858: Updated branch - merged from trunk r.1368650Kim van der Riet2012-08-034-39/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1368910 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3858: Updated branch - merged from trunk r.1333987Kim van der Riet2012-05-044-43/+80
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1334037 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-091-0/+29
| | | | | | broker-scope statistics git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1242526 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
* NO-JIRA: Tidy up the Socket/SocketAddress code:Andrew Stitcher2011-08-172-53/+62
| | | | | | | | - Move (almost) all knowledge of difference in address types to SocketAddress - Make the Windows and Posix sockets code more similar with the aim of eliminating differences in the future git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1158934 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3406: Get IPv6 working on Windows portAndrew Stitcher2011-08-125-76/+133
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1157274 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3405: IPv6 support for Unix C++ ports:Andrew Stitcher2011-08-122-9/+19
| | | | | | | | | | | | - On the Listen side we create separate listening sockets for IPv4 and IPv6 making sure to not allow the IPv6 socket to run dual stack. This makes the reported IPv4 addresses look "normal" and would allow us to turn control IPv4/IPv6 listening separately. - On the connect side we make sure to try all the addresses returned by getaddrinfo() in order until we either find one that connects or have tried all of them. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1157272 13f79535-47bb-0310-9956-ffa450edef68
* qpid-3256 additional changes to also work for mingwClifford Allan Jansen2011-07-131-4/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145876 13f79535-47bb-0310-9956-ffa450edef68
* qpid-3256 Windows fix for loader lock hangClifford Allan Jansen2011-07-121-29/+251
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145468 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Windows: set up name to connect to before connecting (as unix code)Andrew Stitcher2011-05-261-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1128069 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3282: Potential bug in circular connection detection:Andrew Stitcher2011-05-261-1/+1
| | | | | | | - make sure that we compare numeric addresses of both local and remote ends of the connection (previously the remote end could be an unresolved hostname) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1128068 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add cached localname as well as peername to SocketAndrew Stitcher2011-05-261-5/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1128067 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove a lot of redundant stuff from the Socket codeAndrew Stitcher2011-05-261-68/+5
| | | | | | - Removal of unused code git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1128065 13f79535-47bb-0310-9956-ffa450edef68
* Refactor socket connect calls to take a string portAndrew Stitcher2011-05-262-12/+12
| | | | | | This is used used to implement unix domain sockets - QPID-3281 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1128064 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2905 - Code modifications to enable Windows builds with the mingw32 ↵Ted Ross2011-05-187-6/+70
| | | | | | compiler. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1104662 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2905 - Misc. code cleanup to allow compilation on a wider set of compilers.Ted Ross2011-05-173-5/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1104560 13f79535-47bb-0310-9956-ffa450edef68
* Added Windows high-res timer output. Resolves QPID-3236Stephen D. Huston2011-05-071-6/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1100638 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3236 - Add high-resolution timestamps to log files for debug ↵Kim van der Riet2011-05-021-0/+9
| | | | | | situations. Windows impl has a stub only. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1098554 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2967 Windows broker fails to destroy connections if client exits abruptlyCharles E. Rolke2010-12-151-3/+4
| | | | | | | In win::AsynchIOReadComplete(): If there is no data, always call notifyEof(). If status is nonZero then also call notifyDisconnect(). Reviewed by astitcher. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1049702 13f79535-47bb-0310-9956-ffa450edef68
* Converted four files from DOS format to Unix format to match all of the otherTed Ross2010-10-112-852/+852
| | | | | | | | | files in their respective directories. This is a non-substantive change, only end-of-line formatting was modified. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021423 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2708: Create a separate qpidtypes library for the types namespace.Alan Conway2010-06-301-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959419 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2004: Send disconnected event to any handles still registered after ↵Gordon Sim2010-06-011-0/+5
| | | | | | shutdown to ensure they can clean themselves up git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950205 13f79535-47bb-0310-9956-ffa450edef68
* Support for multiple protocols in qpid::Url.Alan Conway2010-05-111-3/+5
| | | | | | | | | | - simplified qpid::Address to hold (protocol,host,port) triples. - protocol plugins call Url:addProtocol to add tags to Url parser. - use Address::protocol when establishing connections. - ssl_test: tests using URL to connect. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943130 13f79535-47bb-0310-9956-ffa450edef68
* Keep dispatching the condition until it is cleared; resolves QPID-2587.Stephen D. Huston2010-05-071-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942096 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1904: Ensure that all timestamp uses are correctly relative to 1/1/1970 ↵Andrew Stitcher2010-04-231-5/+0
| | | | | | | | | | epoch. - Removed the hacky way to access the internal time value in AbsTime now that there is a defined AbsTime value EPOCH. - Changed all the code to use Duration(EPOCH, abtime) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937147 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2527: Remove Thread::id member as its uses are better implemented by ↵Andrew Stitcher2010-04-211-2/+14
| | | | | | | | comparison operators. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936537 13f79535-47bb-0310-9956-ffa450edef68
* Remove some clunky accessors for AbsTime on Windows and replace by making ↵Andrew Stitcher2010-04-081-4/+0
| | | | | | | | Condition a friend class of AbsTime. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931783 13f79535-47bb-0310-9956-ffa450edef68
* Changed the recent AbsTime::Epoch code to conform better to the previouslyAndrew Stitcher2010-04-081-4/+6
| | | | | | | | existing code. Fixed AbsTime to compile on Windows again. Removed unused and seemingly extraneous serialize() code from AbsTime. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931782 13f79535-47bb-0310-9956-ffa450edef68
* Added AbsTime::epoch()) constant to Time.h to provide a portable reference ↵Alan Conway2010-04-071-0/+4
| | | | | | time point. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931656 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
* 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
* Add SSL support for Windows client and broker per QPID-1403. Adds new ↵Stephen D. Huston2010-01-233-5/+846
| | | | | | | | | | | | | 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-211-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901816 13f79535-47bb-0310-9956-ffa450edef68
* Split out AsynchConnecter::start from constructor (like other AsynchIO classes)Andrew Stitcher2010-01-211-6/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901547 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
* 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-151-25/+0
| | | | | | | | - 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
* 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
* 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
* Refactored Socket to allow for IPv6 and unix domain socketAndrew Stitcher2009-10-121-9/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@824237 13f79535-47bb-0310-9956-ffa450edef68
* Make the AsynchIO API more consistentAndrew Stitcher2009-09-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817711 13f79535-47bb-0310-9956-ffa450edef68
* Working towards abstracting away the cross platform uuid mess:Andrew Stitcher2009-08-311-0/+38
| | | | | | | * Stop including indirectly from uuid.h in qpid/framing/Uuid.h and move inline definitions there into the implementation file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@809781 13f79535-47bb-0310-9956-ffa450edef68
* Removed TSS variables that tracked I/O counts; not used. Part of fix for ↵Stephen D. Huston2009-08-141-17/+0
| | | | | | QPID-1868 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804394 13f79535-47bb-0310-9956-ffa450edef68
* Try to create piddir if needed; on error throw a useful message. Fixes QPID-2030Stephen D. Huston2009-08-051-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801315 13f79535-47bb-0310-9956-ffa450edef68