[PATCH try2 3/5] wininet: Fix reference count on internet handle for asynchronous InternetReadFileEx call.

Misha Koshelev mk144210 at bcm.edu
Fri Aug 17 23:56:40 CDT 2007


Same as before. Fixes reference count in InternetReadFileEx, leads to todo_wine's b/c we do not 
properly always handle end of http input (only when the server returns the length if I am remembering
correctly do we handle it properly). In any case this is uncovering the same underlying bug we
already see for InternetReadFile (as is already documented in those tests) for InternetReadFileEx.
---
 dlls/wininet/internet.c   |   11 ++++++-----
 dlls/wininet/tests/http.c |   12 ++++++++++++
 2 files changed, 18 insertions(+), 5 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 995445c6b02d574d7758bac5f1cef8cc6ee35229.diff
Type: text/x-patch
Size: 2293 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070817/bae2bb25/995445c6b02d574d7758bac5f1cef8cc6ee35229-0001.bin


More information about the wine-patches mailing list