Re: Questions about PassthruAPP



Igor Tandetnik wrote:
Andrew Yao <andrewyao@xxxxxxxxx> wrote:
but how do I abort the operation and start a new one? I thought IE
started the original request.

IE calls you. You create an instance of the real APP and call it. It works on your behalf. You can stop it, destroy it, create a new one and issue a new request, without IE knowing anything.

in CTestSink::ReportProgress method, how do I issue a new request?
do I need to call
CInternetProtocol<StartPolicy, ThreadModel>::Start(szUrl, pOIProtSink, pOIBindInfo, DWORD grfPI, dwReserved) ?

what do I pass to pOIProtSink, pOIBindInfo?

thanks

Andrew

A side question, if the original request was a HTTP post, and it
caused a HTTP 302, I don't have to send the original POST payload in
the redirect correct right?

Yes, the usual practice is to issue a GET request on redirect, even if the original was a POST.
.