I downloaded the httpauth sample from msdn and it does the same thing.
Is this the expected way for WinInet to terminate connections? The
only workaround I've gotten working is grabbing the socket during a
callback and then calling CloseHandle() on it after I close my wininet
handles. Surely there must be a better way.
If you do not want WinInet to keep the socket connection alive after an HTTP
request, then set a "Connection: Close" header to your HTTP request.
<steveus...@gmail.com> wrote in message