http-parser replaced to llhttp.

This commit is contained in:
XMRig 2021-03-06 01:46:49 +07:00
parent a11c57226b
commit b3dbf6e23f
No known key found for this signature in database
GPG key ID: 446A53638BE94409
37 changed files with 16281 additions and 3513 deletions

View file

@ -160,7 +160,7 @@ endif()
if (WITH_HTTP)
set(HEADERS_BASE_HTTP
src/3rdparty/http-parser/http_parser.h
src/3rdparty/llhttp/llhttp.h
src/base/api/Api.h
src/base/api/Httpd.h
src/base/api/interfaces/IApiRequest.h
@ -181,7 +181,9 @@ if (WITH_HTTP)
)
set(SOURCES_BASE_HTTP
src/3rdparty/http-parser/http_parser.c
src/3rdparty/llhttp/llhttp.c
src/3rdparty/llhttp/api.c
src/3rdparty/llhttp/http.c
src/base/api/Api.cpp
src/base/api/Httpd.cpp
src/base/api/requests/ApiRequest.cpp