Commit d4e9540
committed
Fix relay server auto-upgrade bugs and reconnection issues
- Add auto-reconnection logic for remote handlers when connection is lost
- Add protocol fallback (HTTP/HTTPS) in health checks for better auto-upgrade support
- Throw error when server readiness check times out after max retries
- Check isIntentionalDisconnect flag before creating WebSocket to prevent race condition
- Apply formatting changes from oxfmt1 parent 65cff04 commit d4e9540
2 files changed
+226
-179
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
137 | 139 | | |
138 | 140 | | |
139 | 141 | | |
| |||
150 | 152 | | |
151 | 153 | | |
152 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
153 | 159 | | |
154 | 160 | | |
155 | 161 | | |
| |||
0 commit comments