Problem about TIdHttpServer

Giganews Newsgroups
Subject: Problem about TIdHttpServer
Posted by:  Lans (lansc…@ebtnet.net)
Date: Wed, 21 Jun 2006

Hi,

This is my first time to use TIdHttpServer. So I made an application project
to try.
Everything is OK when I made a stress test (40 requests per second).

But the same code in my program is very instable. I always get the error
message as following:

Socket Error # 0    (Occur on event OnCommandGet)
Terminate Thread Timeout

After message 'Terminate Thread Timeout', TIdHttpServer will not get any
request.

Does anyone know the problem I met ?
How do I resolve it?

thks.

PS: In my program, the TIdHttpServer is created in a DLL called by an AP.
the DLL & AP are all multithread program.

Replies