Skip to content

trixie: check_connection: Try using curl, wget before ping - #89

Merged
Salamandar merged 1 commit into
mainfrom
fpu-no_ping
Aug 1, 2026
Merged

trixie: check_connection: Try using curl, wget before ping#89
Salamandar merged 1 commit into
mainfrom
fpu-no_ping

Conversation

@Salamandar

Copy link
Copy Markdown
Contributor

ping is ICMP packets, usually blocked by many contextes (qemu user, VPNs, company networks).

Relying on standard HTTP is more reliable.

@Salamandar Salamandar self-assigned this Aug 1, 2026
@Salamandar
Salamandar force-pushed the fpu-no_ping branch 2 times, most recently from 3dad981 to 26cd910 Compare August 1, 2026 20:24
Comment thread trixie Outdated

@zamentur zamentur left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (tested by copying the function manually in a shell)

ping is ICMP packets, usually blocked by many contextes
(qemu user, VPNs, company networks).

Also, maybe servers would have a wrong date and fail the https handshake.
This is not what we aim to test here.

Relying on simple HTTP is more reliable.

Co-authored-by: ljf (zamentur) <zamentur@users.noreply.github.com>
@Salamandar
Salamandar merged commit 6735003 into main Aug 1, 2026
2 checks passed
@Salamandar
Salamandar deleted the fpu-no_ping branch August 1, 2026 20: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.

2 participants