diff options
author | Tobias Markmann <tm@ayena.de> | 2011-09-29 08:25:23 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-09-29 18:58:40 (GMT) |
commit | 639c0b7c7fe05bd7a686d16d93f2720bd3bfad99 (patch) | |
tree | 5ebcaf499403dbcbbd9316dc1e06acab717ce6b2 /Swiften/Network/BoostConnection.h | |
parent | 06a49ccc9554f2ce9e6d7b381543819590ea30ed (diff) | |
download | swift-contrib-639c0b7c7fe05bd7a686d16d93f2720bd3bfad99.zip swift-contrib-639c0b7c7fe05bd7a686d16d93f2720bd3bfad99.tar.bz2 |
In case of writing when calling disconnect() postpone socket.close() to when writing has finished.
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
Diffstat (limited to 'Swiften/Network/BoostConnection.h')
-rw-r--r-- | Swiften/Network/BoostConnection.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Network/BoostConnection.h b/Swiften/Network/BoostConnection.h index 7d5ec60..2f0c7be 100644 --- a/Swiften/Network/BoostConnection.h +++ b/Swiften/Network/BoostConnection.h @@ -63,5 +63,6 @@ namespace Swift { boost::mutex writeMutex_; bool writing_; SafeByteArray writeQueue_; + bool closeSocketAfterNextWrite_; }; } |