llama.cpp
0f9ace17 - server-http: keep request alive in detached SSE drain

Commit
92 days ago
server-http: keep request alive in detached SSE drain The response next() lambda may reach into *request via &req long after on_complete reset the request shared_ptr. Capture request in the detached thread so it outlives the drain.
Committer
Parents
Loading