Commit 787cec8
Add connection timeout to DownloadManager session.get() (#98)
The HTTP connection (session.get) had no timeout, only individual chunk
reads did. If the TCP connection or TLS handshake stalled, the entire
async balance fetch loop would hang forever. This was observed on ESP32
devices where intermittent WiFi issues caused session.get() to never
return, freezing the wallet UI on "Connecting to backend".
Uses the existing _CHUNK_TIMEOUT_SECONDS (10s) for the connection timeout.
Co-authored-by: Richard Taylor <[email protected]>
Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>1 parent eb79079 commit 787cec8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
0 commit comments