Address review comments

This commit is contained in:
fearlessTobi 2018-10-13 13:33:04 +02:00 committed by Weiyi Wang
parent 7daac96862
commit 57d68bb541
3 changed files with 5 additions and 5 deletions

View File

@ -80,7 +80,7 @@ if (ENABLE_WEB_SERVICE)
set(LIBRESSL_SKIP_INSTALL ON CACHE BOOL "")
add_subdirectory(libressl EXCLUDE_FROM_ALL)
target_include_directories(ssl INTERFACE ./libressl/include)
target_compile_definitions(ssl PRIVATE -DHAVE_INET_NTOP)
target_compile_definitions(ssl PRIVATE -DHAVE_INET_NTOP)
# lurlparser
add_subdirectory(lurlparser EXCLUDE_FROM_ALL)

View File

@ -3,10 +3,10 @@
// Refer to the license.txt file included.
#include <future>
#include <json.hpp>
#include "common/detached_tasks.h"
#include "common/logging/log.h"
#include "web_service/announce_room_json.h"
#include "web_service/json.h"
#include "web_service/web_backend.h"
namespace AnnounceMultiplayerRoom {

View File

@ -15,10 +15,10 @@ namespace WebService {
constexpr std::array<const char, 1> API_VERSION{'1'};
constexpr u32 HTTP_PORT = 80;
constexpr u32 HTTPS_PORT = 443;
constexpr int HTTP_PORT = 80;
constexpr int HTTPS_PORT = 443;
constexpr u32 TIMEOUT_SECONDS = 30;
constexpr std::size_t TIMEOUT_SECONDS = 30;
Client::JWTCache Client::jwt_cache{};