Increased max packet size in GDB debug server

This commit is contained in:
Nav
2022-12-13 21:10:40 +00:00
parent 29d548b017
commit af2d7c8856

View File

@@ -29,7 +29,7 @@ namespace Bloom::DebugServer::Gdb
* *
* In the event that it does, we assume the worst and kill the connection. * 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); explicit Connection(int serverSocketFileDescriptor, EventFdNotifier& interruptEventNotifier);