- Remember the connection that worked and try it alone first next start
- Prefer plain HTTP on the home network (each TLS handshake costs seconds on a
600 MHz phone); new setting "Encrypt at home too" to keep HTTPS
- Try secure addresses one at a time instead of in parallel, so they don't
all time out together
- TLS 1.2 with session resumption: reconnects skip the full handshake
- Cache certificate chains already verified; changing the trusted roots
clears that cache and all TLS sessions
- README: updated connection order; test: session resumption check and
HandshakeProfile
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Run network/TLS work on 256 KB-stack threads (net/Threads.java): Android 2.x's
~16 KB default stack overflowed during the bundled TLS handshake
- Close pooled TLS connections off the caller thread
- Try several Plex music-transcoder URL variants until the server accepts one,
and remember the one that worked
- Accept pasted server URLs with paths; default to 443 for https
- Catch fatal errors and save a crash report (shown on next launch and written
to Minamp-error.txt on the SD card)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>