[patch] combining packets

Anatoly Vorobey mellon@pobox.com
Sat, 16 Aug 2003 06:02:54 +0300

You wrote on Mon, Aug 11, 2003 at 07:58:16PM -0700:
> It looks like the word "END\r\n" would still come in its own packet.
> Why don't you try to get that into there if there are 5 bytes free?

Hmm, you're right. I'll fix that.

> Also, I don't see any work here about matching our output sizes to the MTU
> of the interface.

Not yet.

> Should we just go with TCP_CORK/TCP_NOPUSH instead?  

Beats me. But if we do, combining our writes seems to be useless (though
the patch is still good, it cleans the code a lot, and it can be easily
changed not to combine, or to decide at runtime).