https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4928e800a6bcf69276d68…
commit 4928e800a6bcf69276d689ec609cca7d52b1d5b2
Author: Michael Fritscher <reactos(a)mifritscher.de>
AuthorDate: Fri Feb 1 22:14:00 2019 +0300
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Tue Feb 19 16:04:20 2019 +0100
[FREELDR] PXE: Fix network packet size
1024 bytes should fit into a single network packet. CORE-15706
---
boot/freeldr/freeldr/lib/fs/pxe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/boot/freeldr/freeldr/lib/fs/pxe.c b/boot/freeldr/freeldr/lib/fs/pxe.c
index 71f7e37bdd..4b5aac9152 100644
--- a/boot/freeldr/freeldr/lib/fs/pxe.c
+++ b/boot/freeldr/freeldr/lib/fs/pxe.c
@@ -32,7 +32,7 @@ static CHAR _OpenFileName[128];
static ULONG _FileSize = 0;
static ULONG _FilePosition = 0;
static ULONG _PacketPosition = 0;
-static UCHAR _Packet[4096];
+static UCHAR _Packet[1024]; // Should be a value which can be transferred well in one
packet over the network
static UCHAR* _CachedFile = NULL;
static ULONG _CachedLength = 0;