| 305 | } |
| 306 | |
| 307 | void require_within_body_cap() const { |
| 308 | if (limits_.max_body_bytes > 0 && received_bytes_ > limits_.max_body_bytes) { |
| 309 | throw std::runtime_error("live request body exceeded its maximum size"); |
| 310 | } |
| 311 | } |
| 312 |
no outgoing calls
no test coverage detected