adapt for 32bit os.
This commit is contained in:
parent
46836a2d5f
commit
80ed62b4c7
@ -14,9 +14,7 @@ if(TARGET Boost::serialization)
|
||||
add_subdirectory(Encrypt)
|
||||
endif()
|
||||
|
||||
if(TARGET Boost::url)
|
||||
add_subdirectory(HttpProxy)
|
||||
endif()
|
||||
add_subdirectory(HttpProxy)
|
||||
|
||||
if(TARGET Qt${QT_VERSION_MAJOR}::Core)
|
||||
add_subdirectory(QtComponets)
|
||||
|
@ -13,7 +13,7 @@ add_library(HttpProxy
|
||||
|
||||
target_include_directories(HttpProxy
|
||||
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
PRIVATE ${OPENSSL_INCLUDE_DIR}
|
||||
PRIVATE ${OpenSSL_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
target_link_libraries(HttpProxy
|
||||
|
@ -19,7 +19,7 @@ protected:
|
||||
private:
|
||||
boost::asio::ip::tcp::resolver m_resolver;
|
||||
std::optional<boost::beast::http::request_parser<boost::beast::http::string_body>> m_parser;
|
||||
boost::beast::flat_buffer m_buffer{std::numeric_limits<std::uint64_t>::max()};
|
||||
boost::beast::flat_buffer m_buffer{std::numeric_limits<std::uint32_t>::max()};
|
||||
boost::beast::tcp_stream m_clientStream;
|
||||
boost::beast::tcp_stream m_serverStream;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user