small comments + gnu cleanup
This commit is contained in:
parent
cb5371793e
commit
b0f24aea5d
@ -1,21 +1,21 @@
|
|||||||
/*
|
/*
|
||||||
EQ2Emu: Everquest II Server Emulator
|
EQ2Emulator: Everquest II Server Emulator
|
||||||
Copyright (C) 2007-2025 EQ2Emu Development Team (https://www.eq2emu.com)
|
Copyright (C) 2005 - 2026 EQ2EMulator Development Team (http://www.eq2emu.com formerly http://www.eq2emulator.net)
|
||||||
|
|
||||||
This file is part of EQ2Emu.
|
This file is part of EQ2Emulator.
|
||||||
|
|
||||||
EQ2Emu is free software: you can redistribute it and/or modify
|
EQ2Emulator is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
EQ2Emu is distributed in the hope that it will be useful,
|
EQ2Emulator is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with EQ2Emu. If not, see <http://www.gnu.org/licenses/>.
|
along with EQ2Emulator. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "HTTPSClient.h"
|
#include "HTTPSClient.h"
|
||||||
|
@ -1,21 +1,21 @@
|
|||||||
/*
|
/*
|
||||||
EQ2Emu: Everquest II Server Emulator
|
EQ2Emulator: Everquest II Server Emulator
|
||||||
Copyright (C) 2007-2025 EQ2Emu Development Team (https://www.eq2emu.com)
|
Copyright (C) 2005 - 2026 EQ2EMulator Development Team (http://www.eq2emu.com formerly http://www.eq2emulator.net)
|
||||||
|
|
||||||
This file is part of EQ2Emu.
|
This file is part of EQ2Emulator.
|
||||||
|
|
||||||
EQ2Emu is free software: you can redistribute it and/or modify
|
EQ2Emulator is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
EQ2Emu is distributed in the hope that it will be useful,
|
EQ2Emulator is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with EQ2Emu. If not, see <http://www.gnu.org/licenses/>.
|
along with EQ2Emulator. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HTTPSCLIENT_H
|
#ifndef HTTPSCLIENT_H
|
||||||
@ -28,18 +28,14 @@ along with EQ2Emu. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <deque>
|
#include <deque>
|
||||||
#include <boost/asio/executor_work_guard.hpp>
|
#include <boost/asio/executor_work_guard.hpp>
|
||||||
|
#include <boost/asio/ssl.hpp>
|
||||||
|
#include <openssl/ssl.h> // for SSL_set_tlsext_host_name
|
||||||
|
|
||||||
namespace ssl = boost::asio::ssl;
|
namespace ssl = boost::asio::ssl;
|
||||||
namespace asio = boost::asio;
|
namespace asio = boost::asio;
|
||||||
namespace beast = boost::beast;
|
namespace beast = boost::beast;
|
||||||
namespace http = beast::http;
|
namespace http = beast::http;
|
||||||
|
|
||||||
// at the top of your .cpp:
|
|
||||||
#include <boost/asio/ssl.hpp>
|
|
||||||
#include <openssl/ssl.h> // for SSL_set_tlsext_host_name
|
|
||||||
|
|
||||||
// …
|
|
||||||
|
|
||||||
struct PooledStream {
|
struct PooledStream {
|
||||||
boost::asio::ssl::stream<boost::asio::ip::tcp::socket> stream;
|
boost::asio::ssl::stream<boost::asio::ip::tcp::socket> stream;
|
||||||
boost::asio::ip::tcp::resolver resolver;
|
boost::asio::ip::tcp::resolver resolver;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
EQ2Emulator: Everquest II Server Emulator
|
EQ2Emulator: Everquest II Server Emulator
|
||||||
Copyright (C) 2005 - 2025 EQ2EMulator Development Team (http://www.eq2emu.com formerly http://www.eq2emulator.net)
|
Copyright (C) 2005 - 2026 EQ2EMulator Development Team (http://www.eq2emu.com formerly http://www.eq2emulator.net)
|
||||||
|
|
||||||
This file is part of EQ2Emulator.
|
This file is part of EQ2Emulator.
|
||||||
|
|
||||||
|
@ -1,3 +1,23 @@
|
|||||||
|
/*
|
||||||
|
EQ2Emulator: Everquest II Server Emulator
|
||||||
|
Copyright (C) 2005 - 2026 EQ2EMulator Development Team (http://www.eq2emu.com formerly http://www.eq2emulator.net)
|
||||||
|
|
||||||
|
This file is part of EQ2Emulator.
|
||||||
|
|
||||||
|
EQ2Emulator is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
EQ2Emulator is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with EQ2Emulator. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "WebServer.h"
|
#include "WebServer.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user