Commit 3a4b855
committed
bg: soften sidecar readiness gate for non-MasterDnsVPN sidecars
awaitExternalProcessesReady previously threw IOException (hard VPN-start
failure) for any sidecar that didn't bind within maxOf(1s, connectionTestTimeout).
MasterDnsVPN genuinely needs that gate (it crashed if dialed before binding),
but Mieru/Naive/TrojanGo/Hysteria were historically fire-and-forget with
first-dial retry. Now only MasterDnsVPN throws on timeout; the others log a
warning and continue. (Greptile, PR #18 follow-up)1 parent 972db68 commit 3a4b855
1 file changed
Lines changed: 10 additions & 1 deletion
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
298 | 307 | | |
299 | 308 | | |
300 | 309 | | |
| |||
0 commit comments