21 Commits

Author SHA1 Message Date
Shauren
585e170ad6 Core/Network: Refactor AsyncAcceptor to use async_accept overload producing sockets through argument instead of having to preallocate it
* Also improve main() cleanup to fully process all queued async operations (including their cancellations)
2026-01-12 20:59:19 +01:00
Shauren
21ff7f2503 Core/Misc: Add missing includes 2025-11-15 11:42:30 +01:00
Shauren
0275ba9177 Core/Network: Build fix for older boost versions 2025-11-02 14:28:50 +01:00
Shauren
99bb2c6698 Core/Utilities: Added boost asio callback that transforms callback signatures from (error_code + other) to (boost::outcome) 2025-04-14 19:15:41 +02:00
Shauren
71b681bbf0 Core/Network: Move to separate project 2025-04-09 21:02:31 +02:00
Shauren
c81183a660 Dep: Replace basic_deadline_timer with std::chrono based basic_waitable_timer 2024-12-09 21:13:18 +01:00
Shauren
c522e5f4c2 Core/Misc: Support IPv6 ip2location 2024-11-14 00:13:18 +01:00
Shauren
af4dcc93ed Core/Networking: Support IPv6 2024-11-12 13:54:43 +01:00
Ovahlord
0db162790c Core/Common: fixed nopch build for msvc compilers (#29516) 2023-12-24 06:01:47 +01:00
Shauren
d958bfd0f3 Core/Database: Replace DatabaseWorker with asio io_context 2023-12-15 12:06:59 +01:00
Shauren
b51afbdfb9 Core/Logging: Fixed log message order not being preserved when async logging was enabled and ThreadPool was greater than 1
Despite that issue, logging was still threadsafe, just not ordered properly
2023-08-25 10:40:47 +02:00
Shauren
8b426af763 Core/Bnet: Send hostnames in portal requests for launcherlogin 2023-07-20 00:38:07 +02:00
Shauren
d949f86e28 Scripts/Spells: Allow using templated spell script with multiple template arguments in RegisterSpellScriptWithArgs
* Also fixed some script conversion issues
2023-07-19 13:44:18 +02:00
Shauren
7d8bc543f9 Core/Network: Don't send localhost addresses to external clients 2023-07-18 18:09:30 +02:00
Shauren
6be536a73b Core/Network: Refactor local/remote ip address selection code and allow using hostnames in LoginREST bnetserver config options 2023-07-15 00:45:16 +02:00
Shauren
f6e72494f1 Dep: Raise required boost versions to 1.73 on windows and 1.71 on linux and remove compatibility code for unsupported versions 2022-02-14 12:43:57 +01:00
Shauren
98939d258a Dep/Boost: Partial support for boost 1.74 - asio
Ref #25470

(cherry picked from commit 155e37831e)
2020-12-12 18:50:13 +01:00
Aokromes
b0bf1275ee New Year 2020-01-02 06:44:10 +01:00
Shauren
bcda8dd742 Core/Dep: Boost 1.70 compatibility 2019-04-14 00:13:23 +02:00
vincent-michael
5620eb9463 Update copyright note for 2019
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Shauren
dfd2660a85 Core/Misc: Added compatibility layer for boost 1.66 and future std:: networking stuff
* Based on work done by @dimiandre in PR #21173

Closes #21171
Closes #21173
2018-01-06 01:21:59 +01:00