diff --git a/src/base/net/http/HttpServer.cpp b/src/base/net/http/HttpServer.cpp index 80377f772..3b7e6ef1f 100644 --- a/src/base/net/http/HttpServer.cpp +++ b/src/base/net/http/HttpServer.cpp @@ -1,13 +1,7 @@ /* XMRig - * Copyright 2010 Jeff Garzik - * Copyright 2012-2014 pooler - * Copyright 2014 Lucas Jones - * Copyright 2014-2016 Wolf9466 - * Copyright 2016 Jay D Dee - * Copyright 2017-2018 XMR-Stak , - * Copyright 2014-2019 heapwolf - * Copyright 2018-2020 SChernykh - * Copyright 2016-2020 XMRig , + * Copyright (c) 2014-2019 heapwolf + * Copyright (c) 2018-2021 SChernykh + * Copyright (c) 2016-2021 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,7 +23,7 @@ #include "base/net/http/HttpServer.h" -#include "3rdparty/http-parser/http_parser.h" +#include "3rdparty/llhttp/llhttp.h" #include "base/net/http/HttpContext.h" #include "base/net/tools/NetBuffer.h" diff --git a/src/base/net/http/HttpServer.h b/src/base/net/http/HttpServer.h index 2ced767fd..e0da35dd4 100644 --- a/src/base/net/http/HttpServer.h +++ b/src/base/net/http/HttpServer.h @@ -1,13 +1,7 @@ /* XMRig - * Copyright 2010 Jeff Garzik - * Copyright 2012-2014 pooler - * Copyright 2014 Lucas Jones - * Copyright 2014-2016 Wolf9466 - * Copyright 2016 Jay D Dee - * Copyright 2017-2018 XMR-Stak , - * Copyright 2014-2019 heapwolf - * Copyright 2018-2020 SChernykh - * Copyright 2016-2020 XMRig , + * Copyright (c) 2014-2019 heapwolf + * Copyright (c) 2018-2021 SChernykh + * Copyright (c) 2016-2021 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,15 +17,10 @@ * along with this program. If not, see . */ - #ifndef XMRIG_HTTPSERVER_H #define XMRIG_HTTPSERVER_H -using http_parser = struct http_parser; -using http_parser_settings = struct http_parser_settings; - - #include "base/kernel/interfaces/ITcpServerListener.h" #include "base/tools/Object.h"