mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-30 02:02:06 +01:00
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:
parent
3b47f94b35
commit
55f4eb68be
1 changed files with 1 additions and 1 deletions
|
@ -594,7 +594,7 @@ public class InBandBytestreamSession implements BytestreamSession {
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*/
|
*/
|
||||||
public IBBOutputStream() {
|
public IBBOutputStream() {
|
||||||
this.buffer = new byte[byteStreamRequest.getBlockSize()];
|
this.buffer = new byte[(byteStreamRequest.getBlockSize()/4)*3];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue