summaryrefslogtreecommitdiffstats
path: root/tests/HTTP (unfollow)
Commit message (Collapse)AuthorFilesLines
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