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

Function json_response

app/server/http.cpp:307–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305 }
306
307 // Enforced at every point where the body advances, not only before a receive:
308 // checking it in receive_more() alone lets an already-buffered tail — the rest
309 // of a large chunk, trailers, the terminating chunk — be consumed after the
310 // deadline has passed, which is not what "deadline" means to a caller reasoning
311 // about how long the model can be held.
312 void require_within_deadline() const {

Callers 6

handleMethod · 0.85
handle_speechMethod · 0.85
run_transcriptionMethod · 0.85
handle_generic_runMethod · 0.85
handle_voicesMethod · 0.85
error_responseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected