[PATCH try3 1/5] wininet: Change HTTP_CloseConnection to use LPWININETHANDLEHEADER argument and void return type.

Misha Koshelev mk144210 at bcm.edu
Thu Aug 23 00:03:43 CDT 2007


Ok, can't keep away from wine even though busy & sick...

As per Rob's suggestions I've modified my patchset (which fixes a race in urlmon url tests identified by
Alexandre as occasional page fault) to have a separate close_connection method that gets called so we
don't end up with a half-destroyed handle lying around. I believe this is correct as both HTTP and FTP
on native send these status notifications (INTERNET_STATUS_CLOSING_CONNECTION and CONNECTION_CLOSED), although
on wine currently FTP does not (the other alternative would be to send INTERNET_STATUS_HANDLE_CLOSING without
using INTERNET_SendCallback which I don't really like).
---
 dlls/wininet/http.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 17e4f0ed55a3087b2ddfe552438f17ac24bd29f5.diff
Type: text/x-patch
Size: 1214 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070823/6578eeb3/17e4f0ed55a3087b2ddfe552438f17ac24bd29f5.bin


More information about the wine-patches mailing list