[PATCH 1/3] wininet: Add framework for tracking parent/child
handles, free all child handles on WININET_FreeHandle as native.
Misha Koshelev
mk144210 at bcm.edu
Fri Aug 31 20:47:28 CDT 2007
This patchset fixes bug #9479. Basically my patches sending INTERNET_STATUS_HANDLE_CLOSING when the handle
actually is closing like on native and not just whenever InternetCloseHandle is called uncovered this
bug, which is that on native InternetCloseHandle for a "parent" handle also closes all the "child" handles
that have been opened in the parent handle. This patchset implements that functionality and adds a very
simple test (we intentionally do not close one of the child handles and show that we still get the
correct number of INTERNET_STATUS_HANDLE_CLOSING notifications). Fyi I will be away for 9 days when Alexandre
starts committing patches again, so if there are any comments then I won't able to address them then.
The first patch simply adds the parent/child structures and framework to handle them. I separated this
out so it is clear.
---
dlls/wininet/cookie.c | 2 --
dlls/wininet/internet.c | 23 ++++++++++++++++++++++-
dlls/wininet/internet.h | 4 ++++
dlls/wininet/urlcache.c | 1 -
4 files changed, 26 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e2cd03c9ef16bf26489378810e36f1a02f6fd42d.diff
Type: text/x-patch
Size: 3280 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070831/c24bae97/e2cd03c9ef16bf26489378810e36f1a02f6fd42d.bin
More information about the wine-patches
mailing list