Skip to content

set max timeout for polling on TUN device#725

Merged
CvvT merged 4 commits intomainfrom
weiteng/fix_network_worker
Mar 13, 2026
Merged

set max timeout for polling on TUN device#725
CvvT merged 4 commits intomainfrom
weiteng/fix_network_worker

Conversation

@CvvT
Copy link
Contributor

@CvvT CvvT commented Mar 13, 2026

Polling on TUN device only gets interrupted when there are ingress packets. When syscall sendto is called, data is buffered in LiteBox but it does not notify the network worker to wake up to process it. To ensure we don't wait too long, set a max timeout.

@CvvT CvvT changed the title set max timeout for network operation set max timeout for polling on TUN device Mar 13, 2026
@CvvT CvvT marked this pull request as ready for review March 13, 2026 07:58
@github-actions
Copy link

🤖 SemverChecks 🤖 No breaking API changes detected

Note: this does not mean API is unchanged, or even that there are no breaking changes; simply, none of the detections triggered.

@CvvT CvvT added this pull request to the merge queue Mar 13, 2026
Merged via the queue into main with commit 4583328 Mar 13, 2026
14 checks passed
@CvvT CvvT deleted the weiteng/fix_network_worker branch March 13, 2026 19:31
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