Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-02-09 | Fix data race in DummyEventLoop and BoostConnection(Server)Test reported by TSAN | Tobias Markmann | |
The data race is on the events_ member in DummyEventLoop. A BoostIOServerThread can post events to the DummyEventLoop and thereby access its events_ data member while the test's main code processes events of the loop. To prevent access to the DummyEventLoop by the BoostIOServiceThread after the DummyEventLoop is deleted, the BoostIOServiceThread is deleted before the DummyEventLoop. Process remaining events in BoostConnectionTest::tearDown like we do in BoostConnectionServerTest::tearDown. Test-Information: Run multiple times on NetworkTest as TSAN enabled build on Linux. Without the patch it reports a data race for the events_ deque member. Change-Id: I3c85535338fc0ce0263dbfc3534aceb1dd09c137 | |||
2014-12-15 | Update Copyright in Swiften | Kevin Smith | |
Change-Id: I94ab4bbb68c603fe872abeb8090575de042f5cb4 | |||
2013-02-11 | Fixed NetworkTest. | Remko Tronçon | |
Change-Id: I533b3ecf5ddc32f6163d32ad3a9d9d012c981997 | |||
2012-12-31 | Fix more warnings. | Remko Tronçon | |
Change-Id: I0fc27a08adb6aecd5c5775a52b7fe48570ed526a | |||
2011-09-28 | Pass read data from connection via shared_ptr. | Remko Tronçon | |
This should avoid unnecessary copying of the received data while being processed by the event loop. | |||
2011-05-18 | Propagate use of SafeByteArray down to the connection. | Remko Tronçon | |
2011-05-05 | Replace ByteArray by typedef. | Remko Tronçon | |
2011-04-30 | Replace #icnlude "" by #include <> in Swiften. | Remko Tronçon | |
2011-02-14 | Removed Swift::String. | Remko Tronçon | |
2011-01-26 | Make boost io_service a shared object. | Remko Tronçon | |
This should avoid problems when destroying an event loop containing timer or network events, after the network factory (and io_service object) has disappeared (i.e. at shutdown). | |||
2011-01-21 | Code cleanup. | Remko Tronçon | |
2011-01-15 | Comply with asio's documentation that we cannot call async_write multiple ↵ | Remko Tronçon | |
times simultaniously. | |||
2010-12-17 | Fixed IPv6 network test. | Remko Tronçon | |
2010-12-06 | Added IPv6 test. | Remko Tronçon | |
2010-10-27 | Remove MainEventLoop singleton. | Remko Tronçon | |
The event loop now needs to be explicitly passed to clients using it. | |||
2010-06-18 | Fix crash on reconnect. | Remko Tronçon | |
BoostTimer isn't supposed to be constructed as a non-shared-ptr. Making constructor private to avoid this error in the future. | |||
2010-04-08 | Added copyrights to Swiften. | Kevin Smith | |
2010-03-28 | Moving submodule contents back. | Remko Tronçon | |
2010-03-28 | Removing submodules. | Remko Tronçon | |
2010-03-28 | Moved Swiften to a separate module. | Remko Tronçon | |
2009-11-20 | Fixed connection leak. | Remko Tronçon | |
2009-11-01 | Moving tests around. | Remko Tronçon | |
2009-09-03 | Move Swiften QA test into QA module. | Remko Tronçon | |
2009-07-19 | (Client)Session & Connection refactoring. | Remko Tronçon | |
ClientSession no longer sets up a connection. Connection no longer resolves addresses. | |||
2009-07-15 | Make stream stack layers reference counted. | Remko Tronçon | |
2009-07-14 | Make all Connection instances shared_ptrs. | Remko Tronçon | |
2009-07-14 | Consolidating IncomingConnection & Connection. | Remko Tronçon | |
BoostConnections no longer have their own thread, but are managed from a central Boost IO thread instead. | |||
2009-06-01 | Import. | Remko Tronçon | |