wininet: Fix the case of partial SSL reads from the peek buffer.
commitba590a185ae00c51ae10e5bc93938991330d79f8
authorRob Shearman <rob@codeweavers.com>
Wed, 21 Feb 2007 17:11:57 +0000 (21 17:11 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 21 Feb 2007 18:49:50 +0000 (21 19:49 +0100)
tree51537c44e05aac01caafd61c389e1f6f8b57b7e5
parent272d7ab46a67cda384ef17f8238b1935f4b56222
wininet: Fix the case of partial SSL reads from the peek buffer.

Don't return FALSE for a partial read. Fall through to SSL_read and use
the logic for partial reads there instead of having separate logic and
recursively calling NETCON_recv. Based on a patch by Michael Moss.
dlls/wininet/netconnection.c