// $Id$
// Author: Sergey Linev   28/12/2013

#ifndef ROOT_TFastCgi
#define ROOT_TFastCgi

#ifndef ROOT_THttpEngine
#include "THttpEngine.h"
#endif

class TThread;

class TFastCgi : public THttpEngine {
protected:
   Int_t  fSocket;     //! socket used by fastcgi
   Bool_t fDebugMode;  //! debug mode, may required for fastcgi debugging in other servers
   TString fTopName;   //! name of top item
   TThread *fThrd;     //! thread which takes requests, can be many later
public:
   TFastCgi();
   virtual ~TFastCgi();

   Int_t GetSocket() const
   {
      return fSocket;
   }

   virtual Bool_t Create(const char *args);

   static void *run_func(void *);

   ClassDef(TFastCgi, 0) // fastcgi engine for THttpServer
};


#endif
 TFastCgi.h:1
 TFastCgi.h:2
 TFastCgi.h:3
 TFastCgi.h:4
 TFastCgi.h:5
 TFastCgi.h:6
 TFastCgi.h:7
 TFastCgi.h:8
 TFastCgi.h:9
 TFastCgi.h:10
 TFastCgi.h:11
 TFastCgi.h:12
 TFastCgi.h:13
 TFastCgi.h:14
 TFastCgi.h:15
 TFastCgi.h:16
 TFastCgi.h:17
 TFastCgi.h:18
 TFastCgi.h:19
 TFastCgi.h:20
 TFastCgi.h:21
 TFastCgi.h:22
 TFastCgi.h:23
 TFastCgi.h:24
 TFastCgi.h:25
 TFastCgi.h:26
 TFastCgi.h:27
 TFastCgi.h:28
 TFastCgi.h:29
 TFastCgi.h:30
 TFastCgi.h:31
 TFastCgi.h:32
 TFastCgi.h:33
 TFastCgi.h:34
 TFastCgi.h:35
 TFastCgi.h:36