Re: [twsocket] RcvdStream.Free with 404?

2009-05-18 Thread Francois Piette
> Right. I understand it eventually must be cleared. I should have been
> more thorough with my question:
> When multiple GET requests are performed simultaneously, should
> RcvdStream.Free still be called in OnRequestDone when errors such as 404
> are received?

If you do multiple simultaneous requests, then you have multiple HTTP client
components and you have multiple RcvdStream (or you have a problem). You
must free eveything !
--
francois.pie...@overbyte.be
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be

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


Re: [twsocket] RcvdStream.Free with 404?

2009-05-17 Thread x x
Right. I understand it eventually must be cleared. I should have been
more thorough with my question:
When multiple GET requests are performed simultaneously, should
RcvdStream.Free still be called in OnRequestDone when errors such as 404
are received?


<-Original Message-> 
>From: Francois Piette [francois.pie...@skynet.be]
>Sent: 5/17/2009 2:02:27 AM
>To: twsocket@elists.org
>Subject: Re: [twsocket] RcvdStream.Free with 404?
>
>>>> Should RcvdStream.Free still be called with HttpCli if a 404 error
is
>>>> received?
>
>>>Is there something which makes you think it shouldn't ?
>
>>I didn't know if there was data stored upon the occurrence of errors
>> where standard data is not received, such as 404 errors, invalid
>> authentication state, server too busy, etc.
>
>It doesn't matter if any data is stored in any stream. Once it has been
>created, a stream or any other object has to be freed.
>--
>francois.pie...@overbyte.be
>The author of the freeware multi-tier middleware MidWare
>The author of the freeware Internet Component Suite (ICS)
>http://www.overbyte.be
>
>-- 
>To unsubscribe or change your settings for TWSocket mailing list
>please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
>Visit our website at http://www.overbyte.be
>.
> 


___Get
 the Free email that has everyone talking at http://www.mail2world.com 
target=new>http://www.mail2world.com  Unlimited 
Email Storage – POP3 – Calendar – SMS – Translator – 
Much More!
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] RcvdStream.Free with 404?

2009-05-17 Thread Francois Piette
>>> Should RcvdStream.Free still be called with HttpCli if a 404 error is
>>> received?

>>Is there something which makes you think it shouldn't ?

>I didn't know if there was data stored upon the occurrence of errors
> where standard data is not received, such as 404 errors, invalid
> authentication state, server too busy, etc.

It doesn't matter if any data is stored in any stream. Once it has been 
created, a stream or any other object has to be freed.
--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

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


Re: [twsocket] RcvdStream.Free with 404?

2009-05-16 Thread x x
I didn't know if there was data stored upon the occurrence of errors
where standard data is not received, such as 404 errors, invalid
authentication state, server too busy, etc.


<-Original Message-> 
>From: Francois Piette [francois.pie...@skynet.be]
>Sent: 5/16/2009 2:46:54 AM
>To: twsocket@elists.org
>Subject: Re: [twsocket] RcvdStream.Free with 404?
>
>> Should RcvdStream.Free still be called with HttpCli if a 404 error is
>> received? 
>
>Is there something which makes you think it shouldn't ?
>--
>francois.pie...@overbyte.be
>The author of the freeware multi-tier middleware MidWare
>The author of the freeware Internet Component Suite (ICS)
>http://www.overbyte.be
>
>-- 
>To unsubscribe or change your settings for TWSocket mailing list
>please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
>Visit our website at http://www.overbyte.be
>.
> 


___Get
 the Free email that has everyone talking at http://www.mail2world.com 
target=new>http://www.mail2world.com  Unlimited 
Email Storage – POP3 – Calendar – SMS – Translator – 
Much More!
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] RcvdStream.Free with 404?

2009-05-16 Thread Francois Piette
> Should RcvdStream.Free still be called with HttpCli if a 404 error is
> received? 

Is there something which makes you think it shouldn't ?
--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

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