cheogram-android
created pr with
cheogram-android/fix-jft.1
changed pr name to
Fix Jingle File Transfer
cmds
checkout latest patchset:
ssh pr.pico.sh pull cheogram-android:fix-jft | git am -3checkout specific patchset revision:
ssh pr.pico.sh pull cheogram-android:fix-jft [rev] | git am -3add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh cheogram-android:fix-jftadd comment to patch request:
ssh pr.pico.sh comment cheogram-android:fix-jft "lgtm!"
Patchset
cheogram-android/fix-jft.1
Compile time option to force IBB, for testing
Stephen Paul Weber
Fix compile time option to force diable HTTP upload, for testing
2026-11-18T21:36:05ZStephen Paul Weber
Send IBB close properly when done
2026-11-18T21:36:19ZStephen Paul Weber
→ Bigger IBB block size
2026-11-18T21:37:01ZStephen Paul Weber
Don't choke when optional type attribute is missing
2026-11-18T21:37:19ZStephen Paul Weber
2026-11-18T21:37:27Z
Bigger IBB block size
Stephen Paul Weber
2026-11-18T21:37:19ZDiff stat
1 file changed, 2 insertions(+), 1 deletion(-)
Semantic diff summary
0 added,
0 modified,
0 signature changed,
0 removed
across 0 analyzed files
(1 file skipped: unsupported file type)
+2
-1
src/main/java/eu/siacs/conversations/xmpp/jingle/transports/InbandBytestreamsTransport.java
#
| ... | ... | @@ -33,7 +33,8 @@ import java.util.concurrent.atomic.AtomicInteger; | |
| 33 | 33 | ||
| 34 | 34 | public class InbandBytestreamsTransport implements Transport { | |
| 35 | 35 | ||
| 36 | - | private static final int DEFAULT_BLOCK_SIZE = 8192; | |
| 36 | + | private static final int MAX_ENCODED_BLOCK_SIZE = 30 * 1024 - 4; | |
| 37 | + | private static final int DEFAULT_BLOCK_SIZE = (MAX_ENCODED_BLOCK_SIZE / 4) * 3; | |
| 37 | 38 | ||
| 38 | 39 | private final PipedInputStream pipedInputStream = new PipedInputStream(DEFAULT_BLOCK_SIZE); | |
| 39 | 40 | private final PipedOutputStream pipedOutputStream = new PipedOutputStream(); |