3,972 questions
How quickly disconnect http connection in MFC

drjackool
956
Reputation points
Hi
In my app I need to get http message head information but some servers not support head method and I have to use GET, but in get message body is going to download so How to quickly can close the connection? is enough to call CHttpFile::Close function? Also how add byte-range data to the sending request?
Thanks
code order like this:
openrequest
send request
queryinfo
close
Developer technologies C++
Sign in to answer