1
Vote

CReadStreamOnInet

description

Hello,

Completely new to this library, but just thought would flag this up to someone who is a bit more experienced with this.

File: atlsoap.h
Class: CReadStreamOnInet
Function: Read

This function calls InternetReadFile.

Looking a the Microsoft usage of this function at:

https://msdn.microsoft.com/en-us/library/windows/desktop/aa385103%28v=vs.85%29.aspx

It states:

"To ensure all data is retrieved, an application must continue to call the InternetReadFile function until the function returns TRUE and the lpdwNumberOfBytesRead parameter equals zero. This is especially important if the requested data is written to the cache, because otherwise the cache will not be properly updated and the file downloaded will not be committed to the cache."

This is not currently happening and someone may wish to look into it, it is just being invoked once, or it maybe as designed.

Thank you,

Dene.

comments