SMACK-349 The correct byte size is now calculated for outgoing ibb streams, taking into account the base64 encoding.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_2_0@12859 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
rcollier 2011-10-09 01:38:09 +00:00
parent 3b47f94b35
commit 55f4eb68be
1 changed files with 1 additions and 1 deletions

View File

@ -594,7 +594,7 @@ public class InBandBytestreamSession implements BytestreamSession {
* Constructor.
*/
public IBBOutputStream() {
this.buffer = new byte[byteStreamRequest.getBlockSize()];
this.buffer = new byte[(byteStreamRequest.getBlockSize()/4)*3];
}
/**