MSG_PEEK (was Re: Testing on BEOS?)

2003-11-26 Thread Daniel Stenberg
On Wed, 26 Nov 2003, Hrvoje Niksic wrote: Speaking of testing, please be sure to test the latest CVS on Windows as well, where MSG_PEEK is said to be flaky. HTTPS is another thing that might work strangely because SSL_peek is undocumented (!). Out of curiosity, why are you introducing

Re: MSG_PEEK

2003-11-26 Thread Hrvoje Niksic
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

recv and the MSG_PEEK flag

2003-11-19 Thread Hrvoje Niksic
Does anyone know whether the MSG_PEEK flag can be relied upon? I'd like to use peeking to get rid of the ad hoc rbuf layer used in Wget since time immemorial. Peeking would require additional work under SSL, but I think I know how to make it work. But I'm more worried about TCP/IP stacks