Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Use Google captive portal server for network connectivity checking #34

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gonejack
Copy link

@gonejack gonejack commented Oct 8, 2024

This PR replaces the use of ping for network connectivity checks with the method used on Android and iOS.

Using ping sends ICMP packets, which works well under a VPN but can cause issues with (transparent) proxies that only support TCP/HTTP traffic. For users who rely on proxy servers to improve download speeds for themes or OTA updates, a failed ping test could block them from downloading updates, even if they can still access GitHub over HTTP.

@gonejack gonejack changed the title use Google captive portal server for network check Use Google captive portal server for network connectivity checking Oct 8, 2024
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.

1 participant