From af2d7c88569f5e71f3a40a2d1719a5f17e9143f0 Mon Sep 17 00:00:00 2001 From: Nav Date: Tue, 13 Dec 2022 21:10:40 +0000 Subject: [PATCH] Increased max packet size in GDB debug server --- src/DebugServer/Gdb/Connection.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DebugServer/Gdb/Connection.hpp b/src/DebugServer/Gdb/Connection.hpp index f5c5ebb5..9eaa8bdd 100644 --- a/src/DebugServer/Gdb/Connection.hpp +++ b/src/DebugServer/Gdb/Connection.hpp @@ -29,7 +29,7 @@ namespace Bloom::DebugServer::Gdb * * In the event that it does, we assume the worst and kill the connection. */ - static constexpr auto ABSOLUTE_MAXIMUM_PACKET_READ_SIZE = 5120; + static constexpr auto ABSOLUTE_MAXIMUM_PACKET_READ_SIZE = 2097000; // 2MiB explicit Connection(int serverSocketFileDescriptor, EventFdNotifier& interruptEventNotifier);