Commit Graph

12 Commits

Author SHA1 Message Date
Kae
e1be2ab429 finalize network improvements
can now disable zstd stream compression via config, peer-to-peer uses stream compression now, also made the server commands script a bit nicer
2024-07-27 20:04:34 +10:00
Kae
372921abde Update StarNetPacketSocket.cpp
oops
2024-07-27 19:42:24 +10:00
Kae
0ec199b3af Update StarNetPacketSocket.cpp 2024-07-27 18:56:16 +10:00
Kae
951fe787c4 Networking changes (needs P2P testing, requires clients to update unfortunately) 2024-07-27 14:09:12 +10:00
Kae
c3de15c18d Fix compressed buffer not being emptied instantly in TcpPacketSocket::writeData
would only cause an issue when using sendAll, resulted in rarely not connecting
2024-07-27 08:43:32 +10:00
Kae
658fab846e change net debug logging to kB/s 2024-03-15 16:00:56 +11:00
Kae
6208636d69 Fixes 2024-03-15 15:26:38 +11:00
Kae
662b83ff92 Initial commit of experimental zstd network compression
currently a bit buggy
2024-03-14 21:41:53 +11:00
Kai Blaschke
431a9c00a5
Fixed a huge amount of Clang warnings
On Linux and macOS, using Clang to compile OpenStarbound produces about 400 MB worth of warnings during the build, making the compiler output unreadable and slowing the build down considerably.

99% of the warnings were unqualified uses of std::move and std::forward, which are now all properly qualified.

Fixed a few other minor warnings about non-virtual destructors and some uses of std::move preventing copy elision on temporary objects.

Most remaining warnings are now unused parameters.
2024-02-19 16:55:19 +01:00
Kae
0ef8807539 Changes to support modifying networking while maintaining legacy support 2023-07-31 20:22:09 +10:00
Kae
332983c97b The Formatting String Catastrophe 2023-06-27 20:23:44 +10:00
Kae
6352e8e319 everything everywhere
all at once
2023-06-20 14:33:09 +10:00