summaryrefslogtreecommitdiffstats
path: root/src/HTTP (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Deal with covered switches consistently (#4161)peterbell102018-02-051-4/+1
| | | | | | | * 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-032-1/+2
| | | | | | | * 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.
* Removed UTF-8 BOM (#4033)Lukas Pioch2017-09-194-4/+4
|
* Fix switch warnings (#4013)peterbell102017-09-141-5/+0
| | | | | | | | | | | | | | | * Fix switch warnings * Fix a variety of -Wswitch and -Wswitch-enum warnings * Remove unneeded -Wno-error flags * Reorganise some eMonsterType switches * Alpha sort eMonsterType cases in WriteMobMetadata and in cNBTChunkSerializer::AddMonsterEntity * List all mob types in protocol 1.12 and NBTChunkSerializer * cStructGenTrees::GetNumTrees: remove switch default * cWSSAnvil::LoadOldMinecartFromNBT: Log unhandled minecart type
* Update mbedtls to 2.5.1 (#3964)peterbell102017-08-305-38/+41
| | | | | | | | | | | | | | | | | | | | | | * 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
* Removed unneeded includes (#3902)Lukas Pioch2017-08-062-2/+0
|
* Removed unused forward declarations (#3888)Lukas Pioch2017-08-031-2/+0
|
* Removed double includes (#3885)Lukas Pioch2017-08-022-2/+0
|
* Remove smart pointer macrospeterbell102017-07-214-9/+9
|
* Clang 5.0 fixesLukas Pioch2017-05-212-2/+2
| | | | | - Added override keyword - Removed inherited member variables
* Refactored to put URL Encoding / Decoding in a single place. (#3491)Mattes D2016-12-251-2/+11
|
* Fixed type-casting-related warnings.Mattes D2016-08-241-1/+0
|
* HTTP: Fixed empty headers parsing.Mattes D2016-08-241-1/+8
|
* cUrlClient: Refactored callbacks to use UniquePtr.Mattes D2016-08-222-24/+25
|
* cTCPLink supports TLS out of the box.Mattes D2016-08-222-14/+88
|
* UrlClient: Basic HTTP implementation.Mattes D2016-08-224-1/+756
|
* WebAdmin: Report opened ports. (#3333)Mattes D2016-08-211-2/+16
|
* Fixed RasPi builds of unit tests.Mattes D2016-08-041-1/+3
| | | | | On RasPi with gcc 4.8.2, the asserts wouldn't compile when tests were enabled. Enforced the assumption that ASSERT code is generated only in Debug builds.
* CMake: Remove needless minimum version specifications.Mattes D2016-07-181-2/+0
|
* HTTP: Added missing HasAuth flag initialization.Mattes D2016-03-111-1/+2
|
* HTTP: Fixed header parsing.Mattes D2016-03-031-0/+1
|
* HTTP: Fixed typos and bad leftovers.Mattes D2016-03-013-3/+4
|
* Renamed HTTPResponse to HTTPOutgoingResponse.Mattes D2016-03-015-10/+9
|
* WebAdmin uses the new HTTP parser framework.Mattes D2016-03-0114-797/+521
|
* HTTP: Fixed response parser, unified API.Mattes D2016-03-014-16/+22
|
* Fixed HTTP parsing when in insecure mode.Mattes D2016-03-011-2/+6
| | | | | Parsing would ignore the size of data already buffered, resulting in bad_alloc exception. Fixes #2898.
* Renamed HTTPServer folder to HTTP.Mattes D2016-03-0125-0/+3962
It contains client code as well.