Discussion:
How do I get WinInet to reuse socket connections for HEAD requests
(too old to reply)
William
2007-07-20 16:48:03 UTC
Permalink
I am seeing that my application which uses asynchronous WinInet calls reuses
the socket connections for GET requests, but not for HEAD requests. Both the
request and response have Connection: keep-alive headers, but WinInet makes a
new connection for each HEAD request.
(I see this with both IE6 and IE7 versions of WinInet. And the packet
traces show that the client is sending the TCP FIN.)
Vladimir Scherbina [MVP]
2007-07-27 16:20:22 UTC
Permalink
Nope. Wininet hides the implementation details, there is no documented way
to accomplish this.
--
Vladimir, Windows SDK MVP
http://msmvps.com/blogs/v_scherbina/
Post by William
I am seeing that my application which uses asynchronous WinInet calls reuses
the socket connections for GET requests, but not for HEAD requests. Both the
request and response have Connection: keep-alive headers, but WinInet makes a
new connection for each HEAD request.
(I see this with both IE6 and IE7 versions of WinInet. And the packet
traces show that the client is sending the TCP FIN.)
William
2007-07-27 20:56:03 UTC
Permalink
This post might be inappropriate. Click to display it.
Vladimir Scherbina [MVP]
2007-07-28 23:25:51 UTC
Permalink
You may write a suggestion to wndp team via connect.microsoft.com
--
Vladimir, Windows SDK MVP
http://msmvps.com/blogs/v_scherbina/
Post by William
If I can't control it, how do I get Microsoft to fix the bug? It makes a
series of HEAD
requests slower than they should be.
Loading...