summaryrefslogtreecommitdiffstats
path: root/src/HTTP/SslHTTPServerConnection.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-05-15Enable some more clang-tidy linter checks (#4738)peterbell101-1/+3
* Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate
2020-04-16Using Super.Mattes D1-2/+2
2018-05-02Prefer static_cast to reinterpret_cast (#4223)peterbell101-1/+1
* Change reinterpret_cast -> static_cast wherever possible * Remove more unnecessary `const_cast`s. reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there.
2017-09-19Removed UTF-8 BOM (#4033)Lukas Pioch1-1/+1
2017-08-30Update mbedtls to 2.5.1 (#3964)peterbell101-8/+12
* 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-03-01Renamed HTTPServer folder to HTTP.Mattes D1-0/+0
It contains client code as well.
2016-03-01Renamed the HTTP classes to indicate they're for server.Mattes D1-6/+6
2016-02-05Bulk clearing of whitespaceLogicParrot1-4/+4
2015-10-08Fixed a possible crash in HTTPS server.Mattes D1-0/+2
2015-05-24Made -Weverything an error.tycho1-1/+1
2015-02-12LuaAPI: Added client TLS support for TCP links.Mattes D1-0/+9
2015-01-27WebAdmin uses the new cNetwork API.Mattes D1-18/+15
2014-05-01Renamed cPublicKey to cCryptoKey.madmaxoft1-1/+1
The class can hold both the private key and the public key, bad naming on PolarSSL's part. Also somewhat fixed the cert and key loading in cHTTPServer.
2014-05-01Fixed crashes in the SSL HTTP connection.madmaxoft1-3/+7
2014-05-01Implemented SSL connection for WebAdmin.madmaxoft1-0/+103
Fixes FS-319.