Repository navigation
Commit 176a040
committed
fix(server): a timed-out preview request no longer evicts the shared server browser
A foreground preview request that got no reply within its budget made the
broker disconnect its host. The server browser is one in-process host shared
by every thread, so that failed other threads' in-flight calls and left new
calls with no host until it re-registered. Timeouts now fail only the
request for the server browser; desktop hosts are still evicted so a dead
connection can recover. The repro test now passes `preferred` through the
connect options, as ServerBrowser does.
Fixes #16921
AI-assisted; verified with the tests and tools listed above.1 parent 708fbef commit 176a040
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
392 | 394 | | |
393 | 395 | | |
394 | 396 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
662 | 662 | | |
663 | 663 | | |
664 | 664 | | |
665 | | - | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
666 | 670 | | |
667 | 671 | | |
668 | 672 | | |
| |||
0 commit comments