Archived
vendor: cpp-httplib 0.66.0 -- the thread-creation failure stops aborting
0.64.0's ThreadPool spawns a dynamic worker inside the accept loop with
no guard: when the process runs out of threads, std::thread's
std::system_error escapes the loop and std::terminate takes the whole
server down. A client that opens enough connections makes thread
exhaustion a scheduled event; radiance's socket gate and drain budget
narrowed that window but never closed it. 0.66.0 wraps the spawn in
try/catch and keeps the job queued for an existing worker -- the abort
becomes a queue.
The pair moves to what llama.cpp carries at b8abe41a5 ("vendor: update
cpp-httplib to 0.66.0 (#32049)"), byte for byte; the LICENSE was already
byte-identical. Patch 0022 re-verified, not rewritten: the same hunk at
a +26-line offset with no fuzz, upstream still bounds the keep-alive
drain only by the connection's timeout, so the 5 s budget still stands.
The six CPPHTTPLIB_* defines vendor/CMakeLists.txt passes were each
re-checked as live knobs in the new pair. UPSTREAM carries the new
record and the audit note; the manifest re-hashes in this commit.
This commit is contained in:
1 parent
0ff61a19a2
commit
79cc319db2
4 files changed
+112
-41
No files matched your search
Vendored
+3
-3
@@ -1,6 +1,6 @@
|
||||
a01f72edb9d0a7e9da75c5648cf62ae6f1c335afbfc150088a129288072dc32b vendor/CMakeLists.txt
|
||||
d6f9a0fe461e2f7c0b051e39d7979c53e8b14884f87377e3b616a339d481fee9 vendor/cpp-httplib/httplib.cpp
|
||||
d7168fd3d9266985c01e827c7a7cc002c0b0a0abcc8ff16d965ccbbaca3e4a2d vendor/cpp-httplib/httplib.h
|
||||
bc202cbe3648a6650aa1e8f11d589cfc141742497035962c2c957f9e4bed8d41 vendor/cpp-httplib/httplib.cpp
|
||||
1733a55d8917e6c316ed3376ff0f76617189ea567de82427c55eca375899e4ae vendor/cpp-httplib/httplib.h
|
||||
4b45cbe16d7b71b89ae6127e26e0d90a029198ca5e958ad8e3d0b8bbed364d8b vendor/cpp-httplib/LICENSE
|
||||
f5a25d5d70073fe26494962e0b4f300565511f0028f8b1548f1a0c6c531bfc6d vendor/llama/common/chat-auto-parser-generator.cpp
|
||||
eb93af41e2ec50e62880af5da55f68bee83e00c5a6a4896e77cb9d3f8a970b20 vendor/llama/common/chat-auto-parser.h
|
||||
@@ -50,7 +50,7 @@ d5104362705e687271807f499481db6033d85988e13fac12f36e370c6fce0551 vendor/shim/ll
|
||||
5d556a22069133f7931850a13094d7390ba091051f0dc98cb1cfca824142a705 vendor/shim/llama_shim.cpp
|
||||
628efd8a88524082c4736d3bc52790aa459b40728f213246c54550011f2754a2 vendor/shim/log.h
|
||||
1c343ff2dbf801873acc2ee67c0e874137fb36df31421f36fc5cb6812463aae4 vendor/shim/ryml_impl.cpp
|
||||
e378c8ae16e85f2063943132cf4c35aa255734704b54786403ad413a3b575877 vendor/UPSTREAM
|
||||
1de6e88333f9b22cce8a0a579da092a090151a0179b3f6984989943941406a9b vendor/UPSTREAM
|
||||
45e384d3d52c73cba3a64d6e6c25d47cd738cd8a55c30629e3201046eda62947 vendor/yyjson/LICENSE
|
||||
d2d58ef0a3b2267862dc363832c4f3185fd375aea933d5d3419d1a940d6ece2e vendor/yyjson/yyjson.c
|
||||
ef803cda5c06b8962face6dfa39c3284b3bcf3e73f4d7317664690cc779679ca vendor/yyjson/yyjson.h
|
||||
Reference in new issue
Block a user