mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-07-27 05:00:59 -05:00
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.