>> Why use a loop ?
>> Why don't you want to use OnRequestDone event ?

> That is the problem. This routine is called from OnRequestDone.  That is 
> why
> I think that there is a bug.  OnRequestDone gets called twice for 302s, 
> but
> I have already taken that into account.
> Should httpcli.State = httpReady when OnRequestDone is called?   If so, 
> this
> is not the case with 302.

There is no reason to call Abort from OnRequestDone which is the time when 
the request is... done !
Why do you think you need to call Abort from OnRequestDone ?
I you really have a good reason (I like to hear it), then PostMessage a 
custom message and then exit. Then from the corresponding event handler, 
call Abort.

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html

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