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

Alexandre Julliard julliard at winehq.org
Fri May 6 07:22:13 CDT 2011


Jacek Caban <jacek at codeweavers.com> writes:

> try4: Check idle connection before using it in an attempt to catch
> closed connection sooner, avoiding some request resends. It hopefully
> fixes observed problem with tests.

It does, but there's a new problem: it sometimes crashes in the
collect_connections thread during the winhttp tests, because wininet has
been unloaded while the thread is still running. Probably the thread
needs to grab a library reference, though a collection mechanism that
doesn't require a separate thread would be even better. I can still put
the patch in for now, since the failure is not very frequent.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list