Commit d519d023 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Move position to 0 of inAppBB when reading and connection was closed. JM-481

git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@3162 b35dd754-fafc-0310-a699-88a17e54d16e
parent 773345ea
...@@ -88,7 +88,8 @@ public class TLSStreamReader { ...@@ -88,7 +88,8 @@ public class TLSStreamReader {
} }
} else { } else {
if (cnt == -1) { if (cnt == -1) {
rbc.close(); inAppBB.flip();
rbc.close();
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment