These patches have already been sent in April 2011, and contain some fixes for the internal TFTP server. With these patches, MS Windows PE can be booted via PXE, and 32MB file limitation has been removed.
This has been tested with MS Windows 2003 PXE boot client, PXELINUX and gPXE. Indentation seems a little bit off in patch 2/2, because surrounding code indentation is one tab followed by spaces. I've indented new lines by replacing the tab by 8 spaces. Patch 1/2 also has indentation errors reported by checkpatch.pl, but I kept indentation consistent. Changes v1 -> v2 - rebased - updated with Aurélien Jarno remarks - improved commit messages Changes v2 -> v3 - removed patch 1/3, already applied to slirp queue - updated with Jan Kiszka remarks Hervé Poussineau (2): slirp: Handle more than 65535 blocks in TFTP transfers slirp: Implement TFTP Blocksize option slirp/tftp.c | 66 ++++++++++++++++++++++++++++++++++++++-------------------- slirp/tftp.h | 1 + 2 files changed, 44 insertions(+), 23 deletions(-) -- 1.7.10.4