]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
common: introduce http.h for httplib-based client (#16373)
authorAdrien Gallouët <redacted>
Wed, 1 Oct 2025 17:22:18 +0000 (19:22 +0200)
committerGitHub <redacted>
Wed, 1 Oct 2025 17:22:18 +0000 (20:22 +0300)
commit4201deae9c2ae4732db8957b6ce0808d02ec597c
treec1eb578ec35541a9393f0c5ea28d59d72fd198ed
parent764799279f801c696503bacca490b4358587d94c
common: introduce http.h for httplib-based client (#16373)

* common: introduce http.h for httplib-based client

This change moves cpp-httplib based URL parsing and client setup into
a new header `common/http.h`, and integrates it in `arg.cpp` and `run.cpp`.

It is an iteration towards removing libcurl, while intentionally
minimizing changes to existing code to guarantee the same behavior when
`LLAMA_CURL` is used.

Signed-off-by: Adrien Gallouët <redacted>
* tools : add missing WIN32_LEAN_AND_MEAN

Signed-off-by: Adrien Gallouët <redacted>
---------

Signed-off-by: Adrien Gallouët <redacted>
Signed-off-by: Adrien Gallouët <redacted>
CODEOWNERS
common/CMakeLists.txt
common/arg.cpp
common/http.h [new file with mode: 0644]
tools/run/run.cpp