s***@gmail.com
2005-04-14 16:44:11 UTC
I'm working on a little WinInet HTTP client, and it looks like the
client sends a RST every time the program ends, even though I'm closing
all of my HINTERNETs in the right order.
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.
Thanks.
-Steve
client sends a RST every time the program ends, even though I'm closing
all of my HINTERNETs in the right order.
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.
Thanks.
-Steve