diff --git a/libs/CMakeLists.txt b/libs/CMakeLists.txt index e69ca893fdcf2db8299aec87c1bd568358ceff95..c9f0bb2ec74d3661df8dba34e8f0ccb62b762bac 100644 --- a/libs/CMakeLists.txt +++ b/libs/CMakeLists.txt @@ -55,7 +55,7 @@ ExternalProject_Add(libui DOWNLOAD_COMMAND "" SOURCE_DIR ${CMAKE_SOURCE_DIR}/libs/libui-cmake CMAKE_ARGS -DLIBUI_BUILD_EXAMPLES=OFF -DLIBUI_BUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=MinSizeRel - BUILD_COMMAND cmake --build . + BUILD_COMMAND cmake --build . --config MinSizeRel INSTALL_COMMAND "" TEST_COMMAND "" ) diff --git a/src/rew/decoder/http_connection.cpp b/src/rew/decoder/http_connection.cpp index 9b664b3604f04ddbb00517298cbbcf7a2e4c915f..7bff51ca26832a4655b5b96c4d1dbe3abbf876d6 100644 --- a/src/rew/decoder/http_connection.cpp +++ b/src/rew/decoder/http_connection.cpp @@ -3,6 +3,8 @@ #include <rew/decoder/http_server.h> #include <rew/common/tokenizer.h> +// These codes and names are extracted from: +// https://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html static const std::unordered_map<int, std::string> statusCodes = { {100, "Continue"}, {101, "Switching Protocols"},