On 27-Jul-05 18:59:30 Francois PIETTE wrote:

[...]

>>> If decompression is done on the fly (streaming, we already talked about
>>> this), then nothing special is required.
>>
>> The decompression will be made only if RcvdStream is assigned.

>That is not needed. The decompression can be made always. If RcvdStream is
>assigned, then decompressed data is written there. Anytime is is made
>available from OnDocData event.

What I mean is that actually the decompression works only on
RcvdStream.
Do you want that the data passed to OnDocData is decompressed?
This could eventually be done only if the class that make the
decompression supports "on the fly", or better if all classes neded
to decompress the body suport it.
If we want to accept both scenarios (on the fly and not, but I don't
know if on the fly is always appliable) then we will have an
incostincency: is it possible that OnDocData will receive compressed
data.

I forget to mention one thing. Xavier in his code set FLastResponse
with the whole content of the decompressed stream. Is it correct
and/or needed?


Bye, Maurizio.

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to