mirror of
https://github.com/bobbimanners/emailler.git
synced 2025-01-05 17:29:21 +00:00
7ac8c55603
So far we were reading (much) more bytes from the W5100 than necessary when processing the HTTP header. The byte were memmove'd to the beginning of the buffer. However, when downloading a DOS 3.3 sector order disk image (*.dsk / *.do) then we need to place every DOS 3.3 sector at a certain point in the buffer to avoid additional memcpy's later. Therefore the HTTP header processing mustn't read (or rather commit) any body bytes from the W5100. So we now just check for the "\r\n\r\n" after each and every byte. This is of course less than optimal but small/simple - and the header isn't supposed to be that large anyway. |
||
---|---|---|
.. | ||
atrtelnet.cfg | ||
date65.c | ||
hfs65.c | ||
linenoise.c | ||
linenoise.h | ||
Makefile | ||
telnet65.s | ||
w5100.c | ||
w5100.h | ||
wget65.c |