Networking: return to the direct LAN path faster without a network-change event

Aperta
#53 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, kotlin
Ambito
mobile, networking

Direzione di ricerca

Start with PathPolicy, HubPathSelector, and PinnedHealthProber under android/core/network/ to understand how probes select the VPN or direct LAN path. Then inspect the unit tests and add fake based tests for the re-probe policy, including foreground or permitted Wi-Fi changes, the 60 second return delay, and two failed probes before leaving the direct path. Done means the return happens sooner without noticeable battery use and pinning and certificate checks stay unchanged.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

android difficulty: advanced networking

Context

When the phone is on the VPN path and the LAN becomes reachable again without a connectivity event, returning to the
direct path can take up to 5 minutes.

Acceptance criteria

  • A cheaper re-probe strategy (for example on app foreground and on Wi-Fi SSID/BSSID change where permitted)
    shortens the return without increasing battery use noticeably.
  • Leaving the direct path still requires two failed probes; returning still waits at least 60 s unless the network
    changes.
  • Pinning and certificate checks unchanged; unit tests with fakes for the policy.

Pointers

  • android/core/network/ (PathPolicy, HubPathSelector, PinnedHealthProber)
Lingua principale
Kotlin
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ft-dev-org/cloudbridge-oss

Tutte le issue di ft-dev-org/cloudbridge-oss

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.