I have the following problem with URL moniker. A Visual C++6 application downloads web resources. Somtimes (not always) the following happens:

1. While a file is being download my method OnDataAvailable detects error - when method STGMEDIUM->pstm->Read is called. I call IBinding::Abort and return.
2. Me method OnProgress is called by the moniker; status BINDSTATUS_ENDDOWNLOADCOMPONENTS is apssed there.
3. Then I expect the moniker to call my method OnStopBinding, but this does NOT happen. Because of my application expects OnStopBinding will be a;ways called, it hangs.


The problem happens only sometimes - mostly the OnStopBinding is called after I did IBinding::Abort. The problem occurs on new URL every time. I have noticed: all the such URLs return "Content-Encoding: gzip" in HTTP response. The platform is Windows 2003 Enterprise Edition SP1.