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

Abierto
#53 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
android, kotlin

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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)
Lenguaje dominante
Kotlin
Estrellas
0
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ft-dev-org/cloudbridge-oss

Todos los issues de ft-dev-org/cloudbridge-oss

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.