|
|
|
date: Fri, 09 Nov 2007 07:01:51 -0800,
group: microsoft.public.inetsdk.programming.urlmonikers
back
Re: Why IInternetProtocol::Read didn`t retrieve all content in PassthruAPP?
On 11 10 , 12 40 , "Igor Tandetnik" wrote:
> intargent wrote:
> > I managed to intercept IInternetProtocol::Read calls to record the
> > HTTP response body with the PassthruAPP toolkit.But sometimes
> > IInternetProtocol::Read didn`t read all content.It always occurs when
> > the response was cached(with Winxp sp IE7).Why and how to record the
> > whole content?
>
> I've never had any such problems. Most likely, you are doing something
> wrong. If you can make a small sample reproducing the problem, email it
> to me at itandet...@mvps.org, I'll look at it.
> --
> With best wishes,
> Igor Tandetnik
>
> With sufficient thrust, pigs fly just fine. However, this is not
> necessarily a good idea. It is hard to be sure where they are going to
> land, and it could be dangerous sitting under them as they fly
> overhead. -- RFC 1925
Hi Igor,
Thanks for your reply.
I was just noticed that IInternetProtocolRoot::Abort was called once
after IInternetProtocol::Read was called in this situation.I guess it
may be caused by IE optimization mechanism:When the cache file of the
request is avalible,IE may read data from internet temporary file and
abord the binding operation.Dose this mean I should read file reported
by BINDSTATUS_CACHEFILENAMEAVAILABLE instead of hooking
IInternetProtocol::Read ?
Thanks
date: Fri, 09 Nov 2007 18:11:09 -0800
author: intargent
Re: Why IInternetProtocol::Read didn`t retrieve all content in PassthruAPP?
"intargent" wrote in message
news:1194660669.919656.157200@q5g2000prf.googlegroups.com
> On 11 10 , 12 40 , "Igor Tandetnik" wrote:
>> intargent wrote:
>>> I managed to intercept IInternetProtocol::Read calls to record the
>>> HTTP response body with the PassthruAPP toolkit.But sometimes
>>> IInternetProtocol::Read didn`t read all content.It always occurs
>>> when the response was cached(with Winxp sp IE7).Why and how to
>>> record the whole content?
>>
>> I've never had any such problems. Most likely, you are doing
>> something wrong. If you can make a small sample reproducing the
>> problem, email it to me at itandet...@mvps.org, I'll look at it.
>
> I was just noticed that IInternetProtocolRoot::Abort was called once
> after IInternetProtocol::Read was called in this situation.I guess it
> may be caused by IE optimization mechanism
I've never seen this behavior either.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
date: Fri, 9 Nov 2007 23:25:47 -0500
author: Igor Tandetnik
|
|