1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-06-23 20:04:51 +02:00
Go to file
Florian Schmaus e1bb5a6123 SMACK-278: Call socket.close() in XMPPConnection.shutdown() before
closing the reader and writer streams. This basically prevents the
deadlock reported in SMACK-278.

Additionally, we need to tell the PacketReader and PacketWriter that
the socket got closed and that subsequent caused Exceptions can be
ignored. This is done via the socketClosed boolean in XMPP Connection,
that is queried by PacketReader and PacketWriter in case an Exception
is encountered.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13390 b35dd754-fafc-0310-a699-88a17e54d16e
2013-01-06 14:02:44 +00:00
build Added XEP-199 aka. "XMPP Ping" support to smack. Fixes SMACK-388. 2013-01-04 11:43:35 +00:00
documentation Merged the 3.2 Beta branch into trunk. 2011-03-14 01:53:42 +00:00
jingle/extension SMACK-363 Applied code cleanup patches for many generics related issues. 2012-10-26 10:47:55 +00:00
sample Fixed smack sample for updated API 2009-09-03 08:42:07 +00:00
source SMACK-278: Call socket.close() in XMPPConnection.shutdown() before 2013-01-06 14:02:44 +00:00
test test-case.xml: Whitespace fixes, changed serverhost to localhost to reflect the settings in source code. This also makes it easier for new Smack developers to run the tests. 2013-01-04 11:47:59 +00:00
test-unit/org/jivesoftware Fix issue with Socks5ProxyTest: The read() method throws an Exception if the socket is closed. Catch this Exception and report the testcase as successful. 2013-01-04 11:47:53 +00:00