summaryrefslogtreecommitdiffstats
path: root/tests/HTTP (follow)
Commit message (Collapse)AuthorAgeFilesLines
* UrlClientTest: Added tests for root CA verification.Mattes D2023-05-191-1/+207
|
* UrlClientTest: Added timeout to all tests.Mattes D2023-05-191-4/+20
|
* Auth SSL Fixesx12xx12x2023-05-191-2/+2
| | | | | | | - Fixed Login Breaking bug - Auth and MojangAPI now use UrlClient - fixed bug in UrlClient where one letter was missing in the HTTP Header - added function to verify Urls from config files and error handling on bad Urls in config for Auth
* Fix Android builds (#4998)Tiger Wang2020-10-151-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.
* Replaced cpp14::make_unique<> with std::make_unique<>.Mattes D2020-08-011-4/+4
|
* Update libevent to 2.1.12-stablePeter Bell2020-07-061-1/+0
|
* Upgrade to C++17 [CMake] (#4717)Tiger Wang2020-05-161-6/+1
| | | * Make our CMake slightly less insane
* 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