mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-06-16 00:24:49 +02:00
Smack should not throw an IOException in case a stream got closed by the remote peer and the user is trying to read() from the stream. This commit fixes that, by making Smack return '-1' if the stream got closed by the remote. An IOException will only be thrown if the user tries to read from a stream that got already closed by *himself*. SMACK-468 |
||
---|---|---|
.. | ||
packet | ||
provider | ||
CloseListenerTest.java | ||
DataListenerTest.java | ||
IBBPacketUtils.java | ||
IBBTestsSuite.java | ||
InBandBytestreamManagerTest.java | ||
InBandBytestreamRequestTest.java | ||
InBandBytestreamSessionMessageTest.java | ||
InBandBytestreamSessionTest.java | ||
InitiationListenerTest.java |