| 309 | std::chrono::steady_clock::now() - started_) |
| 310 | .count(); |
| 311 | if (elapsed >= limits_.total_timeout_ms) { |
| 312 | throw std::runtime_error("live request body exceeded its total deadline"); |
| 313 | } |
| 314 | } |
| 315 | |
| 316 | // Returns false on a clean half-close; throws when a bound is exceeded, so a |
| 317 | // stalled client surfaces as a stream error rather than a silent truncation |
| 318 | // that would look like a legitimate end of audio. |
no test coverage detected