Re: [Etherboot-developers] Re: TCP and HTTP support
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: Markus G. <ma...@gu...> - 2003-08-03 17:09:50
|
Ken Yap wrote: > I won't accept it for 5.0, it's too large a change. Agreed. I hadn't really expected it to go in that version of the tree; it was just easier to test with for me. > I'll accept for 5.3 Sweet ;-) > if you patch against 5.3.0 (5.1.10 is close enough) and remove all the > large buffers from the stack I had been wondering how to do that best. I don't really need much space. The only large structures are the ones that hold the current HTTP header/state (about 100 bytes), any URL found in redirects (80 bytes), and the buffer used for assembling outgoing packets (1500 bytes). The latter is the problem. I know that none of my packets are large, so I guess I could just shrink this buffer (576 would make a lot of sense), and impose a maximum segment size for outgoing TCP packets. Would that be acceptable? Alternatively, I could allocate the buffer in the BSS. What is the prefered solution? > and of course it's #ifdefed so that there's > no cost for anybody not choosing to use TCP. There's only a 4kB stack > available. I'll try to do these changes once we have set up some machines at LinuxExpo. Markus |