summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/Network.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cTCPLink and cUrlClient accept list of trusted root CAs for TLS.Mattes D2023-05-191-1/+2
|
* cTCPLink: Use the original connection hostname for SNI.Mattes D2023-05-191-2/+1
|
* Auth SSL Fixesx12xx12x2023-05-191-1/+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
* fixed missing include for FreeBSD. (#4852)SatoKaito2020-09-101-1/+8
|
* Enable some more clang-tidy linter checks (#4738)peterbell102020-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-1/+0
| | | | Add check for number of empty lines between functions and fix the corresponding failures
* Remove smart pointer macrospeterbell102017-07-211-9/+9
|
* cTCPLink supports TLS out of the box.Mattes D2016-08-221-0/+33
|
* More style checking.Mattes D2015-05-091-1/+1
| | | | Spaces around some operators are checked.
* cNetwork: Added EnumLocalIPAddresses() function.Mattes D2015-02-221-0/+3
|
* cNetwork: Added UDP API.Mattes D2015-02-201-1/+77
|
* Exported cServerHandle and cNetwork:Listen to Lua.Mattes D2015-02-041-0/+3
| | | | Also added an example to the NetworkTest plugin.
* cNetwork: Renamed callback to OnConnected()Mattes D2015-01-221-2/+5
|
* cNetwork: Added link creation callback.Mattes D2015-01-221-3/+15
| | | | This allows the callback classes to store the link inside them and use it internally later on, mainly for sending data.
* cNetwork: Changed listening API.Mattes D2015-01-221-6/+12
| | | | The link-callbacks for each new accepted link are now received from the OnIncomingConnection listen-callback.
* cNetwork: Added error message to error callbacks.Mattes D2015-01-221-3/+3
|
* cNetwork: Split the main cpp file into several files.Mattes D2015-01-221-6/+13
|
* cNetwork: Added an OnError callback for listening servers.Mattes D2015-01-221-0/+3
| | | | The callback receives the error details.
* cNetwork: Implemented connection shutdown and close.Mattes D2015-01-221-4/+6
|
* cNetwork: Implemented HostnameToIP lookups.Mattes D2015-01-221-2/+9
|
* cNetwork: Linux compilation fix.Mattes D2015-01-221-0/+18
|
* Implemented LibEvent-based client connections.Mattes D2015-01-221-0/+188