MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / error_response

Function error_response

app/server/http.cpp:311–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309 throw std::runtime_error("live request body exceeded its maximum size");
310 }
311 }
312
313 // Enforced at every point where the body advances, not only before a receive:
314 // checking it in receive_more() alone lets an already-buffered tail — the rest
315 // of a large chunk, trailers, the terminating chunk — be consumed after the
316 // deadline has passed, which is not what "deadline" means to a caller reasoning
317 // about how long the model can be held.
318 void require_within_deadline() const {

Callers 2

handleMethod · 0.85
handle_clientFunction · 0.85

Calls 3

json_responseFunction · 0.85
json_quoteFunction · 0.70
stringFunction · 0.50

Tested by

no test coverage detected