wininet: MSG_WAITALL support in NETCON_recv with SSL

Paul Chitescu pchitescu at
Tue Aug 8 15:37:41 CDT 2006

ChangeLog: Implement support for MSG_WAITALL with SSL, should fix bug 2984

When SSL is in use continue reading when partial data was taken from peek 
buffer and MSG_WAITALL was requested (call comes from InternetReadFileEx 
without IRF_NO_WAIT).

NETCON_recv is called recursively to read the reminder of the buffer. There is 
no risk of infinite recursion as the peek buffer is guaranteed to be emptied.

Note: it is not clear to me if MSG_WAITALL should be also set by 

Paul Chitescu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NETCON_recv_SSL_waitall.patch
Type: text/x-diff
Size: 978 bytes
Desc: not available
Url :

More information about the wine-patches mailing list