[PATCH try3] wininet: Added support for persistent HTTP connections

Jacek Caban jacek at codeweavers.com
Thu May 5 07:31:41 CDT 2011

try3: I've included better content draining in this patch (that I was
hoping to do as follow-up previously, due to already big size of the
patch). That fixes observed test failures. Older wininet implementations
don't have it, so the test fails for them.

Tests still should be fixed as they don't work on some Windows. I
believe that this test should be simply removed. It's supposed to test
caching, but it does so poorly. There will be much more complex tests
needed once we will attempt to implement caching content. Also this test
has a race and its interesting part tests old (broken) wininet behaviour.

 dlls/urlmon/tests/protocol.c |    2 +-
 dlls/urlmon/tests/url.c      |   20 +-
 dlls/wininet/http.c          |  645
 dlls/wininet/internet.c      |    2 +-
 dlls/wininet/internet.h      |   42 ++-
 dlls/wininet/netconnection.c |  138 ++++------
 dlls/wininet/tests/http.c    |   32 +--
 7 files changed, 482 insertions(+), 399 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wininet-Added-support-for-persistent-HTTP-connections.diff
Type: text/x-patch
Size: 55705 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110505/bf5445c0/attachment-0001.bin>

More information about the wine-patches mailing list