Daniel Stenberg <[EMAIL PROTECTED]> writes:

> Out of curiosity, why are you introducing this peeking? I mean,
> what's the gain?

Simplifying the code.  Getting rid of the unfinished and undocumented
"rbuf" abstraction layer.  Buffering is unnecessary when downloading
the body, and is mostly unnecessary when downloading the headers or in
line-oriented communication.

I got the idea by tracing how fetchmail communicates with the server.
Since fetchmail is fairly portable, I believe the idea works well in
practice.

Reply via email to