This project is read-only.

How can I stop & restart HttpServer?

Feb 24, 2009 at 12:03 PM

It seem no way to stop() & start() HttpServer.because :

class RequestQueue
{
...

  public void Start()
  {
   _canRun = true;
   if (_workerThread == null)
    _workerThread = new Thread(QueueThread);

//------------------------------ Thread cannot restart after stopped.
   if (!_workerThread.IsAlive)
    _workerThread.Start(); //<--when call Start() after call Stop() , ThreadException raised.
  }

}

Feb 24, 2009 at 1:27 PM
fixed.