Skip to content

fix(upnp): bound discovery and SOAP request time - #666

Open
colinaumaty wants to merge 1 commit into
gcash:masterfrom
colinaumaty:feature_colinaumaty
Open

fix(upnp): bound discovery and SOAP request time#666
colinaumaty wants to merge 1 commit into
gcash:masterfrom
colinaumaty:feature_colinaumaty

Conversation

@colinaumaty

Copy link
Copy Markdown

UPnP discovery and SOAP calls now share a three-second HTTP timeout, preventing a non-responsive router from blocking discovery indefinitely while preserving the normal success path.

Signed-off-by: colinaumaty <colinaumaty@outlook.com>
@zquestz

zquestz commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Why 3 seconds, and can you make the value a constant so we can tune it easier in the future?

I would go with 5 or 10 seconds. Still fixes the blocking, but gives a bit more time for slow equipment.

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