mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 02:00:46 +08:00
Treat UME stream handshake 500 as a lost subscription.
Stop infinite reconnect loops when ZTE returns HTML 500 for a dead stream id and surface re-establish in the UI. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
c91d1571a2
commit
db8c77a2e5
2 changed files with 8 additions and 0 deletions
|
|
@ -24,8 +24,11 @@ _SUBSCRIPTION_MISSING_MARKERS: tuple[str, ...] = (
|
|||
"status-reason: subscription not found",
|
||||
"non-101 status: 503",
|
||||
"non-101 status: 404",
|
||||
"non-101 status: 500",
|
||||
"handshake status 404",
|
||||
"handshake status 503",
|
||||
# ZTE UME often returns HTML 500 when the stream id is gone/invalid.
|
||||
"handshake status 500",
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue