Archived
vendor: cpp-httplib v0.46.1 -> v0.64.0 -- the drain patch retires to one line
Eighteen upstream releases, taken the way the lift was taken: the split pair llama.cpp now carries (1ab23c33b), against the cpp-httplib v0.64.0 tag. The vendored pair before this commit was byte-identical to the old base plus patch 0022 -- re-checked against the pinned lift commit, not taken on faith. 0022 was written because upstream's keep-alive drain could be paced one byte per socket timeout forever, and because a refused request's unread body had no reason to be drained at all. v0.64.0 does both of those itself: every 4xx/5xx response now carries Connection: close, a scope_exit in write_response closes the socket when it sees that option, the drain is skipped for any response committed to close, and a drain that does run is bounded by a 256 KB cap, the connection's read timeout as a total, and an immediate close for a part-read body. The old patch applied nowhere, and mostly needed to be nothing. What one line is still owed: the library bounds the drain's time only by the connection's read timeout -- the same knob that bounds a whole request's reads, uploads included, so lowering it would cap uploads too. The reworked patch gives the drain a five-second budget of its own. transport_test's cases for the refusal and the stalled drain are unchanged: they pin the behavior, whoever in the tree implements it. Also new in this window and watched with interest: set_trusted_proxies arrives with real IP matching -- the seam a coming commit wires. Manifest regenerated; vendor_sums green.
This commit is contained in:
1 parent
3decb3ca13
commit
40e1b3073b
7 files changed
+6311
-2472
No files matched your search
Vendored
+5
-5
@@ -1,6 +1,6 @@
|
||||
87a6f818226255250162f36768a2349fe97c92a0fb64bf261828740ad0e3412d vendor/CMakeLists.txt
|
||||
236682df34eb4219b2fa48105e818656a952abe74a2a771cd3b23b2be0b97fe9 vendor/cpp-httplib/httplib.cpp
|
||||
85dc9d95fbfb6d55dc927d52db73089654dc52f7376c67334392239bb3fe6842 vendor/cpp-httplib/httplib.h
|
||||
fa7f402b6441af6f1b6fd819c793f9148a5a8df69b6f49eef9a82f76916e23c7 vendor/CMakeLists.txt
|
||||
d6f9a0fe461e2f7c0b051e39d7979c53e8b14884f87377e3b616a339d481fee9 vendor/cpp-httplib/httplib.cpp
|
||||
d7168fd3d9266985c01e827c7a7cc002c0b0a0abcc8ff16d965ccbbaca3e4a2d vendor/cpp-httplib/httplib.h
|
||||
4b45cbe16d7b71b89ae6127e26e0d90a029198ca5e958ad8e3d0b8bbed364d8b vendor/cpp-httplib/LICENSE
|
||||
4491c18fe222d5d486ddf770efbf280b108caa1e680ed799661120a1f1a240e6 vendor/llama/common/chat-auto-parser-generator.cpp
|
||||
eaac4504c9c36e4c6452158eb05b19423ec80a274f442368198cdbc51e5a05f5 vendor/llama/common/chat-auto-parser.h
|
||||
@@ -64,10 +64,10 @@ e9ba1c95b3b282e603e1522771e102e1ab4dc53a014f0b63a8fd1b05a6d94bd8 vendor/patches
|
||||
b6c8d0d83f9be852f232cb006cf1a8475e10def6e609d0ebfba9162342016e6b vendor/patches/0019-json-schema-identity-escapes-of-punctuation.patch
|
||||
e089be9c985d0ada3451d8abf211c6d11a9ca280eee67c2d968979bcd592460c vendor/patches/0020-json-schema-control-escapes-and-unloadable-class-escapes.patch
|
||||
ce99a693521103110c6ff99cad447664083e2c1872127a4ba9984ff5bc641aac vendor/patches/0021-jinja-a-dotted-integer-is-an-index.patch
|
||||
aff7dde39f0a7404a4ad47f33b4e2730334923f7bf1bfec64a6c064cdf9581ad vendor/patches/0022-httplib-a-refusal-closes-the-socket-and-the-drain-keeps-a-deadline.patch
|
||||
f8b105c8e5032ab557e3d24632d7c07938383b3d183ce8dd0fe9051b5ea1e4b9 vendor/patches/0022-httplib-the-drain-keeps-a-five-second-budget.patch
|
||||
2970cf5b064edfd93581f0f1e027cff69ab328a60bb8ab23eaeb4854c841a412 vendor/shim/common.h
|
||||
699953eab99abd173ee2b3b16f540b3c72dff103dbe92f1ac733bc9e26a798e7 vendor/shim/ggml.h
|
||||
d5104362705e687271807f499481db6033d85988e13fac12f36e370c6fce0551 vendor/shim/llama.h
|
||||
5d556a22069133f7931850a13094d7390ba091051f0dc98cb1cfca824142a705 vendor/shim/llama_shim.cpp
|
||||
628efd8a88524082c4736d3bc52790aa459b40728f213246c54550011f2754a2 vendor/shim/log.h
|
||||
07ef981f3376451ad9af87a14800c6b7368aff5e41f2a282f1dea75ff55124c0 vendor/UPSTREAM
|
||||
d499ac92806108afa43c8bec88d57d747b8a05df663b4fbd55ebbe531f9519e4 vendor/UPSTREAM
|
||||
Reference in new issue
Block a user