Re: [twsocket] HttpAppServer Finish question

2011-01-30 Thread Busai Péter
Thanks. I send answer and call Finish in OnTerminate event. AFAIK that runs in main thread context. Peter 2011.01.30. 15:51 keltezéssel, Francois PIETTE írta: > You have to call Finish in the contrext of the thread running > UrlHandler.Execute, not your worker thread. It is not important that > i

Re: [twsocket] HttpAppServer Finish question

2011-01-30 Thread Francois PIETTE
You have to call Finish in the contrext of the thread running UrlHandler.Execute, not your worker thread. It is not important that it is in the Execute method, only the thread context matters. Of course, the browser has a timeout, but much longer than 10 seconds. -- francois.pie...@overbyte.be