summaryrefslogtreecommitdiffstats
path: root/tests/HTTP (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-10-15Fix Android builds (#4998)Tiger Wang1-21/+21
Construct paths relative to the Cuberite sources with PROJECT_SOURCE_DIR, instead of wherever the first CMakeLists.txt file happened to be with CMAKE_SOURCE_DIR. In Android's case, the latter was in a folder called android/ but that's not the root of the source tree, so any file path built off that root was wrong. This caused file-specific warnings exclusions to fail to apply.
2020-08-01Replaced cpp14::make_unique<> with std::make_unique<>.Mattes D1-4/+4
2020-07-06Update libevent to 2.1.12-stablePeter Bell1-1/+0
2020-05-16Upgrade to C++17 [CMake] (#4717)Tiger Wang1-6/+1
* Make our CMake slightly less insane
2019-09-10Fix race condition in UrlClientTestpeterbell101-15/+16
2019-08-26Improved testing framework. (#4376)Mattes D1-21/+9
2018-02-20Fix cUrlClient leak (#4125)peterbell101-5/+19
Fixes #4040 * The TCP connection is now shutdown after OnBodyFinished * Any open connections are closed when cNetworkSingleton::Terminate() is called. * Removed ownership cycles in cUrlClientRequest * Added a check to the test to ensure there are no leaks.
2018-02-05Deal with covered switches consistently (#4161)peterbell101-0/+4
* Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message()
2018-01-03Add the fmt library (#4065)peterbell101-2/+3
* Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style.
2017-12-22Fix Travis build (#4101)peterbell101-1/+1
Stop using gdb on osx - was breaking the build Add clang 3.5 build as travis now defaults to 5.0 Fix unknown-warning-option errors on AppleClang ProtoProxy: Use nullptr UrlClientTest: add override to callback destructor Update jsoncpp to use nullptr
2017-09-19Removed UTF-8 BOM (#4033)Lukas Pioch1-1/+1
2017-08-30Update mbedtls to 2.5.1 (#3964)peterbell101-2/+2
* Renaming changes: * macro prefix "POLARSSL" -> "MBEDTLS" * functions now prefixed with "mbedtls_" * rename PolarSSL++ -> mbedTLS++ * rename polarssl submodule * Use mbedtls' AES-CFB8 implementation. * Add cSslConfig to wrap mbedtls_ssl_config * Update cTCPLink and cBlockingSslClientSocket to use cSslConfig * Use cSslConfig in cHTTPServer * Use cSslConfig for cMojangAPI::SecureRequest * CI Fixes * Set -fomit-frame-pointer on the right target
2016-08-24Fixed type-casting-related warnings.Mattes D1-5/+2
2016-08-24HTTP: Fixed empty headers parsing.Mattes D4-1/+17
2016-08-22cUrlClient: Refactored callbacks to use UniquePtr.Mattes D1-8/+8
2016-08-22cTCPLink supports TLS out of the box.Mattes D2-13/+96
2016-08-22UrlClient: Basic HTTP implementation.Mattes D2-3/+185
2016-07-18CMake: Remove needless minimum version specifications.Mattes D1-2/+0
2016-06-18SelfTests: Print a quick message on test start.Mattes D1-1/+1
2016-06-18SelfTests: Fixed HTTPMessageParser tests for out-of-source builds.Mattes D1-5/+5
2016-06-18SelfTests: Organized into solution folders.Mattes D1-0/+13
2016-03-01WebAdmin uses the new HTTP parser framework.Mattes D6-11/+333
2016-03-01HTTP: Fixed response parser, unified API.Mattes D2-6/+13
2016-03-01Added unit test for parsing HTTP request.Mattes D4-0/+223