HttpCloseConnection
Closes a request connection.
#include <httpexp.h>
#include <httpclnt.h>
int HttpCloseConnection (
HINTERNET hndl);
If successful, returns 0. Otherwise, returns a nonzero error code.
The HttpCloseConnection function must be called once for every successful HttpConnect call. The function must be called even when subsequent calls after the HttpConnect call generate errors. To free all resources, it must be followed by an HttpClientClose call.