Newsgroups : Microsoft : microsoft.public.inetsdk.programming.wininet : 2007 Jul : How do I get WinInet to reuse socket connections for HEAD requests
| Subject: | How do I get WinInet to reuse socket connections for HEAD requests |
| Posted by: | "William" (bardwell.nospam@nospam.nospam) |
| Date: | Fri, 20 Jul 2007 09:48:03 |
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.)