Skip to content

Commit 3cea7a3

Browse files
authored
Network cleanup (#6310)
* Move Connection threads to dedicated files + various cleanups * ConnectionReceiveThread::processPacket now uses function pointer table to route MT packet types * Various code style fixes * Code style with clang-format * Various SharedBuffer copy removal * SharedBuffer cannot be copied anymore using Buffer * Fix many SharedBuffer copy (thanks to delete operator)
1 parent f6a33a1 commit 3cea7a3

File tree

11 files changed

+1763
-1762
lines changed

11 files changed

+1763
-1762
lines changed

src/defaultsettings.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,6 @@ void set_default_settings(Settings *settings)
290290
// Network
291291
settings->setDefault("enable_ipv6", "true");
292292
settings->setDefault("ipv6_server", "false");
293-
settings->setDefault("workaround_window_size","5");
294293
settings->setDefault("max_packets_per_iteration","1024");
295294
settings->setDefault("port", "30000");
296295
settings->setDefault("strict_protocol_version_checking", "false");

src/network/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
set(common_network_SRCS
22
${CMAKE_CURRENT_SOURCE_DIR}/address.cpp
33
${CMAKE_CURRENT_SOURCE_DIR}/connection.cpp
4+
${CMAKE_CURRENT_SOURCE_DIR}/connectionthreads.cpp
45
${CMAKE_CURRENT_SOURCE_DIR}/networkpacket.cpp
56
${CMAKE_CURRENT_SOURCE_DIR}/serverpackethandler.cpp
67
${CMAKE_CURRENT_SOURCE_DIR}/serveropcodes.cpp

0 commit comments

Comments
 (0)