aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Networking
AgeCommit message (Collapse)Author
2025-09-22Core/Network: Minor include cleanup in SocketConnectionInitializer related filesShauren
2025-06-02Core/Network: Make ip address formattable with fmtShauren
2025-04-09Core/Network: Move to separate projectShauren
2025-04-08Core/Network: Socket refactorsShauren
* Devirtualize calls to Read and Update by marking concrete implementations as final * Removed derived class template argument * Specialize boost::asio::basic_stream_socket for boost::asio::io_context instead of type-erased any_io_executor * Make socket initialization easier composable (before entering Read loop) * Remove use of deprecated boost::asio::null_buffers and boost::beast::ssl_stream
2024-12-09Dep: Replace basic_deadline_timer with std::chrono based basic_waitable_timerShauren
2024-11-12Core/Networking: Support IPv6Shauren
2024-04-03Core/Networking: Fixed Socket::DelayedCloseSocket not working if write queue ↵Shauren
is empty when its called on linux and mac Closes #29887
2024-03-21Core: Updated to 10.2.6.53840Shauren
2023-12-26Core/Bnet: Implemented new SRP6 variants, and migrate old sha_pass_hash in ↵Shauren
battlenet_accounts to separate salt and verifier columns * passwords can now be case sensitive and up to 128 characters long
2023-12-18Core/Bnet: Add new loggers to config file template, fixed request/response ↵Shauren
content logging and fixed setting keep_alive on responses
2023-12-17Core/Bnet: Rewrite LoginRESTService using boost::beast instead of gsoap as ↵Shauren
http backend and extract generic http code to be reusable elsewhere
2023-12-16Core/Misc: Minor refactors in BaseEncoding and SslSocket to prepare for ↵Shauren
future bnetserver changes
2023-12-08Core/Misc: Minor code modernization - kill std::bindShauren
2023-07-15Core/Network: Cleanup asio using directivesShauren
2023-04-06Core/Misc: Modernize code a bit by replacing std::tie with either structured ↵Shauren
bindings or operator<=>
2023-01-08Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard ↵Shauren
compatible api)
2022-02-14Dep: Raise required boost versions to 1.73 on windows and 1.71 on linux and ↵Shauren
remove compatibility code for unsupported versions
2022-02-13Core/Misc: Cleanup unused includesShauren
2022-01-24Core/Networking: Fixed authserver socket read handlers being called on ↵Shauren
incorrect thread (cherry picked from commit 3ad05386c844438af0dda56bbb46fa665d870c5c)
2022-01-03Core/Time: Remove artificially high minimal update intervalsShauren
2021-11-21Core/Networking: Set SO_REUSEADDR on *nix platformsjackpoz
(cherry picked from commit 46f2595f511011d577be0ecee3d9f44c980ddc92)
2021-11-21Core/Networking: Fix memory leak (#22923)Giacomo Pozzoni
Fix memory leak reported by ASan happening when ports fail to bind in Authserver (cherry picked from commit 57d7b194522d6d44f4d2e9400c03cfc13d5a706a)
2020-01-02New YearAokromes
2019-04-14Core/Dep: Boost 1.70 compatibilityShauren
2019-01-01Update copyright note for 2019vincent-michael
auto happy = new year(2019);
2018-01-06Core/Misc: Added compatibility layer for boost 1.66 and future std:: ↵Shauren
networking stuff * Based on work done by @dimiandre in PR #21173 Closes #21171 Closes #21173
2018-01-01Update copyright note for 2018vincent-michael
auto happy = new year(2018);
2017-08-15Core/Networking: Activate single threaded optimization for io_service ↵Shauren
running in NetworkThread
2017-05-13Core/Shared: Include cleanupShauren
2017-05-04Fix build.Gacko
2017-05-04Core/Misc: Cleanup worldserver/bnetserver main() functions to run ↵Shauren
destructors in predictable order * world/bnet servers will now fail to startup if listen ports are in use * Restored "Network.OutUBuff" config option lost during boost transition
2017-01-01Update copyright note for 2017vincent-michael
Happy new year
2016-03-28Core/Network: Change SocketMgr.StartNetwork to take the thread count by arg ↵DDuarte
instead of config AuthSocketMgr doesn't need "Network.Threads" config Fixes "Missing name Network.Threads in config file authserver.conf" Ref #16859 (cherry picked from commit 980f28d2ce099f524abdb6faed3fe59ce4c0963a) # Conflicts: # src/server/authserver/Server/AuthSocketMgr.h # src/server/game/Server/WorldSocketMgr.cpp
2016-03-26Core/Networking: Added SslSocket wrapper for boost::asio::ssl::streamShauren
2016-03-26Core/Common: Moved MessageBuffer to commonShauren
2016-03-19Core/Shared: Fix no PCH buildNaios
(cherry picked from commit 5ac4507c877e9a6b73ca8bd3e2f44254eb06ab4a)
2016-03-12Core/Networking: Fixed DelayedCloseSocket when compiled without ↵Shauren
TC_SOCKET_USE_IOCP (linux) Closes #16769
2016-03-10Core/Networking: Added new AsyncRead method to Socket class allowing to pass ↵Shauren
a custom completion handler and refactor world socket initialization string handling
2016-02-21Final build fix for gcc 4.7 (no longer supported in 8 days)Shauren
(cherry picked from commit 2345e848559b787710abac3bb73b513a069084c9)
2016-02-19Core/Networking: Rewrite networking threading modelShauren
Each network thread has its own io_service - this means that all operations on a given socket except queueing packets run from a single thread, removing the need for locking Sending packets now writes to a lockfree intermediate queue directly, encryption is applied in network thread if it was required at the time of sending the packet
2016-01-01Update copyright note for 2016Vincent-Michael
Happy new year (Again new year with idiots ...)
2015-08-09Core/Networking: Fixed possible crashes happening if async query retrieving ↵Shauren
account data takes too long Closes #14944
2015-06-21Core/Threading: Fixed possible data races after making auth queries async by ↵Shauren
moving their processing to boost::asio::io_service::run threads
2015-05-02Core/Networking: Fixed possible msvc debug assertions in vectorShauren
2015-04-24Core/Socket: Removed unused synchronous read methodShauren
2015-04-11Core/Bnet: Fixed crash on shutdown happening when there were still players ↵Shauren
connected
2015-04-04Misc: Fixed license header formattingShauren
2015-03-28Core/Networking: Fixed unsafe access to _worldSession member in WorldSocketShauren
2015-03-28Core/PacketIO: Implemented CMSG_ENABLE_NAGLEShauren
2015-03-18Core: WARN instead of INFO - this is actually something we'd want to be ↵click
informed of... (cherry picked from commit d5718f337257cfa2a4562df1aeb79a0ff0324add)