Skip to content

Add HTTPS with Jump using two HTTPS proxies - #29

Merged
andre487 merged 2 commits into
mainfrom
feat/https-with-jump
Sep 7, 2026
Merged

andre487 merged 2 commits into
mainfrom
feat/https-with-jump

Conversation

@andre487

@andre487 andre487 commented Sep 7, 2026 •

Copy link
Copy Markdown
Owner

MegaProxy can now connect through two ordinary HTTPS CONNECT proxies using HTTPS with Jump: phone → jump proxy → destination proxy → website. Each hop has its own TLS verification and Basic Auth credentials, with optional shared credentials. HTTP/1.1 and HTTP/2 CONNECT work independently at both hops.

Only the jump proxy is bootstrapped and dialed locally; the destination proxy hostname is resolved by the jump. Failed hops do not fall back to a direct connection. Connection tests and DoH use the same chain, and intermediate TLS traffic does not inflate application traffic counters. Existing local-network bypass behavior remains applicable to application destinations.

The profile editor, persistence, import review, and native configuration now support the mode. Profile selectors use smaller single-line type badges and fade overlapping profile names beneath them. The connection statistics panel shows the session start date/time and elapsed duration, rounded down in 10-second, 30-second, one-minute, and one-hour steps at the requested 1-minute, 10-minute, and 24-hour boundaries; elapsed time uses a monotonic clock and survives screen recreation. New UI labels and connection validation messages have English and Russian resources. JSON exports use schema version 8 so older clients reject chain configurations instead of treating them as a single proxy; ProxyList continues to export only single HTTPS proxies.

Validation: bundle exec fastlane android test on JDK 21, including Go race tests, Android JVM tests, lint, debug APK, and verified unsigned release APK. Integration coverage exercises all four HTTP/1.1–HTTP/2 hop combinations, separate and shared credentials, certificate and CONNECT failures at either hop, and traffic/outcome accounting. The 60 JVM tests cover validation, JSON round trips, secret omission, defaults, resource parity, session transitions, and duration precision boundaries. The final UI changes passed bundle exec fastlane android android_checks and were visually checked on the running emulator at normal and 2× font scale; normal scale was restored. No emulator is required in CI.

@andre487
andre487 enabled auto-merge September 7, 2026 12:55
@andre487
andre487 merged commit c822c4b into main Sep 7, 2026
2 checks passed
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

APK artifacts

Built from commit 624c9fe4 by CI run #95.
Artifacts expire after 14 days. Neither APK uses the MegaProxy release key.

@andre487
andre487 deleted the feat/https-with-jump branch September 7, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant