Skip to content

Conversation

FranAguilera
Copy link
Contributor

@FranAguilera FranAguilera commented Oct 13, 2025

Avoid creating 2 OkHttpClient instances

See https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html

Screenshot 2025-10-14 at 00 13 50

Verification

@FranAguilera FranAguilera requested a review from murki October 13, 2025 22:17
Copy link

Size Comparison Report (x86_64)

Metric APK (KB) SO (KB)
Baseline 3322 1208
Current 3322 1208
Difference 0 0

APK size unchanged. SO size unchanged.

@FranAguilera FranAguilera merged commit 6d37175 into main Oct 14, 2025
15 checks passed
@FranAguilera FranAguilera deleted the franjam/okhttp-fixes branch October 14, 2025 11:30
@github-actions github-actions bot locked and limited conversation to collaborators Oct 14, 2025
@murki
Copy link
Contributor

murki commented Oct 14, 2025

Let's make sure to test both connections don't mess with each other since we hack okhttp to keep a bidirectional connection open at all times (i.e. test download/uploads on both a coupe of times back and forth)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants