llama.cpp
482d862b - server : handle unsuccessful sink.write in chunked stream provider (#21478)

Commit
62 days ago
server : handle unsuccessful sink.write in chunked stream provider (#21478) Check the return value of sink.write() in the chunked content provider and return false when the write fails, matching cpp-httplib's own streaming contract. This prevents logging chunks as sent when the sink rejected them and properly aborts the stream on connection failure.
Author
Parents
Loading