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
Don't choke when optional type attribute is missing
Stephen Paul Weber
2026-11-18T21:37:27ZDiff stat
1 file changed, 4 insertions(+), 3 deletions(-)
Semantic diff summary
0 added,
0 modified,
0 signature changed,
0 removed
across 0 analyzed files
(1 file skipped: unsupported file type)
+4
-3
src/main/java/eu/siacs/conversations/xmpp/jingle/transports/SocksByteStreamsTransport.java
#
| ... | ... | @@ -801,8 +801,7 @@ public class SocksByteStreamsTransport implements Transport { | |
| 801 | 801 | || Strings.isNullOrEmpty(host) | |
| 802 | 802 | || Strings.isNullOrEmpty(jid) | |
| 803 | 803 | || Strings.isNullOrEmpty(port) | |
| 804 | - | || Strings.isNullOrEmpty(priority) | |
| 805 | - | || Strings.isNullOrEmpty(type)) { | |
| 804 | + | || Strings.isNullOrEmpty(priority)) { | |
| 806 | 805 | throw new IllegalArgumentException("Candidate is missing non optional attribute"); | |
| 807 | 806 | } | |
| 808 | 807 | return new Candidate( |
| ... | ... | @@ -811,7 +810,9 @@ public class SocksByteStreamsTransport implements Transport { | |
| 811 | 810 | Jid.of(jid), | |
| 812 | 811 | Integer.parseInt(port), | |
| 813 | 812 | Integer.parseInt(priority), | |
| 814 | - | CandidateType.valueOf(type.toUpperCase(Locale.ROOT))); | |
| 813 | + | Strings.isNullOrEmpty(type) | |
| 814 | + | ? CandidateType.DIRECT | |
| 815 | + | : CandidateType.valueOf(type.toUpperCase(Locale.ROOT))); | |
| 815 | 816 | } | |
| 816 | 817 | ||
| 817 | 818 | @Override |