Commit def55f3
fix: use timeout-bounded HTTP client for unary Read and Append (#255)
closes #234
## Summary
- Unary `Read` and `Append` were using `getHTTPClient()` which returns
the streaming HTTP client (`Timeout: 0`), ignoring the configured
`RequestTimeout`.
- Changed both to use `s.basinClient.httpClient` (the timeout-bounded
client), consistent with `CheckTail` and other unary operations.
- Streaming sessions (`AppendSession`, `ReadSession`) continue to use
the no-timeout streaming client via `getHTTPClient()`.
## Test plan
- [ ] Verify `go build ./...` passes
- [ ] Confirm unary `Read`/`Append` now respect `RequestTimeout` under
network delays
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 967c763 commit def55f3
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
0 commit comments