summaryrefslogtreecommitdiffstats
path: root/tests/HTTP (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix race condition in UrlClientTestpeterbell102019-09-101-15/+16
|
* Improved testing framework. (#4376)Mattes D2019-08-261-21/+9
|
* Fix cUrlClient leak (#4125)peterbell102018-02-201-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.
* Deal with covered switches consistently (#4161)peterbell102018-02-051-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()
* Add the fmt library (#4065)peterbell102018-01-031-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.
* Fix Travis build (#4101)peterbell102017-12-221-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
* Removed UTF-8 BOM (#4033)Lukas Pioch2017-09-191-1/+1
|
* Update mbedtls to 2.5.1 (#3964)peterbell102017-08-301-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
* Fixed type-casting-related warnings.Mattes D2016-08-241-5/+2
|
* HTTP: Fixed empty headers parsing.Mattes D2016-08-244-1/+17
|
* cUrlClient: Refactored callbacks to use UniquePtr.Mattes D2016-08-221-8/+8
|
* cTCPLink supports TLS out of the box.Mattes D2016-08-222-13/+96
|
* UrlClient: Basic HTTP implementation.Mattes D2016-08-222-3/+185
|
* CMake: Remove needless minimum version specifications.Mattes D2016-07-181-2/+0
|
* SelfTests: Print a quick message on test start.Mattes D2016-06-181-1/+1
|
* SelfTests: Fixed HTTPMessageParser tests for out-of-source builds.Mattes D2016-06-181-5/+5
|
* SelfTests: Organized into solution folders.Mattes D2016-06-181-0/+13
|
* WebAdmin uses the new HTTP parser framework.Mattes D2016-03-016-11/+333
|
* HTTP: Fixed response parser, unified API.Mattes D2016-03-012-6/+13
|
* Added unit test for parsing HTTP request.Mattes D2016-03-014-0/+223