Newsgroups : Microsoft : microsoft.public.inetsdk.programming.wininet : 2006 Apr : How to reset wininet?

www.cryer.info
Managed Newsgroup Archive

How to reset wininet?

Subject:How to reset wininet?
Posted by:"rimumiro" (rimumi..@discussions.microsoft.com)
Date:Thu, 6 Apr 2006 21:28:02

The INTERNET_BUFFERS structure used in HttpSendRequestEx has a limit of 2Gb.
I am happy to chunk files larger than this and send them in a separate
request, but InternetWriteFile returns false [with no error] even if you use
a new session, connection and request handle [after first closing the
existing ones].

Is there any way to reset wininet so that you can send files larger than 2Gb
in separate chunks? [Note: the limitation is not at the server end.]

Thanks,

Michael

Replies:

www.cryer.info
Managed Newsgroup Archive