Hello, I set a flag in THttpCli:OnDocBegin and reset it in OnDocEnd. If it is not reset in OnRequestDone, then there was an error. Simple, isn't it?
Best Regards, SZ ----- Original Message ----- From: "Francois PIETTE" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Sunday, September 03, 2006 5:29 PM Subject: Re: [twsocket] Solution to problem with THttpCli : Could you show the actual changes you made in the component ? : -- : [EMAIL PROTECTED] : http://www.overbyte.be : : ----- Original Message ----- : From: "Fastream Technologies" <[EMAIL PROTECTED]> : To: "ICS support mailing" <twsocket@elists.org> : Sent: Sunday, September 03, 2006 1:35 PM : Subject: [twsocket] Solution to problem with THttpCli : : : > Hello, : > : > I found the solution to when to abort THttpCli connections by setting a : > clientError flag in the beginning and then resetting it in OnDocEnd. : > Sometimes when the browser is refreshed too quickly, our reverse proxy was : > not calling OnDocEnd yet the OnRequestDone was called WITHOUT an error : > code! : > I believe this is a bug. : > : > Best Regards, : > : > SZ : > : > -- : > 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 : : -- : 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 -- 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