Hello,
In some cases SetReady() (hence OnRequestDone) is called twice, where the
second one should not be called and interferes with following HTTP request
(if any), ruining the state machine. I suggest something like:
void __fastcall SetReady()
{
if(alreadySetReady)
return;
alreadySetReady = true;
...
}
//---------------------------------------------------------------------------
To be added to HTTP client component code.
Best Regards,
SZ
--
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