summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/TCPLinkImpl.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-19cTCPLink and cUrlClient accept list of trusted root CAs for TLS.Mattes D1-6/+17
2023-05-19cTCPLink: Use the original connection hostname for SNI.Mattes D1-6/+16
2023-05-19Auth SSL Fixesx12xx12x1-1/+4
- 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
2020-05-15Enable some more clang-tidy linter checks (#4738)peterbell101-8/+8
* 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-08-29Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell101-1/+1
Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell101-1/+0
Add check for number of empty lines between functions and fix the corresponding failures
2017-09-19Removed UTF-8 BOM (#4033)Lukas Pioch1-1/+1
2017-08-30Update mbedtls to 2.5.1 (#3964)peterbell101-15/+22
* 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
2017-06-15Replace evdns with getaddrinfo and getnameinfo (#3766)peterbell101-26/+60
2017-01-03TCPLink: call networking callbacks with LibEvent unlocked. (#3515)Mattes D1-2/+2
2017-01-03TCPLink: call networking callbacks with LibEvent unlocked. (#3515)Mattes D1-2/+2
2016-08-23cUrlClient: Exported to Lua API.Mattes D1-0/+5
2016-08-22cTCPLink supports TLS out of the box.Mattes D1-2/+289
2016-02-05Bulk clearing of whitespaceLogicParrot1-1/+1
2015-04-21Network: fixed excessive debug logging.Mattes D1-6/+0
2015-02-14Fixed TCP link shutdown.Mattes D1-9/+56
The shutdown is postponed until there's no more outgoing data in the LibEvent buffers.
2015-02-04cTCPLink: Fixed missing addresses on link connection.Mattes D1-2/+2
2015-01-27cTCPLinkImpl: Added the BEV_OPT_THREADSAFE flag.Mattes D1-2/+8
2015-01-23cNetwork: Added self pointers to keep objects alive for callbacks.Mattes D1-10/+15
Ref.: http://forum.mc-server.org/showthread.php?tid=1700&pid=17947#pid17947
2015-01-22cNetwork: Renamed callback to OnConnected()Mattes D1-1/+1
2015-01-22cNetwork: Added link creation callback.Mattes D1-10/+16
This allows the callback classes to store the link inside them and use it internally later on, mainly for sending data.
2015-01-22cNetwork: Changed listening API.Mattes D1-1/+1
The link-callbacks for each new accepted link are now received from the OnIncomingConnection listen-callback.
2015-01-22cNetwork: Added error message to error callbacks.Mattes D1-2/+8
2015-01-22cTCPLinkImpl: Fixed type conversion warning.Mattes D1-2/+2
2015-01-22cNetwork: Split the main cpp file into several files.Mattes D1-0/+314