mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
nhttpd: init var
This commit is contained in:
@@ -52,6 +52,7 @@ CWebserverConnection::CWebserverConnection() {
|
||||
enlapsed_request = 0;
|
||||
enlapsed_response = 0;
|
||||
ConnectionNumber = ++GConnectionNumber;
|
||||
Webserver = NULL;
|
||||
}
|
||||
//-------------------------------------------------------------------------
|
||||
CWebserverConnection::~CWebserverConnection(void) {
|
||||
|
@@ -145,7 +145,7 @@ public:
|
||||
CStringList HookVarList; // Variables in Hook-Handling passing to other Hooks
|
||||
THttp_Method Method; // HTTP Method (requested)
|
||||
// constructor & deconstructor
|
||||
CyhookHandler(){ContentLength = 0; RangeStart = 0; RangeEnd = -1; cached = false; keep_alive = 0; _outIndent = 0;status = HANDLED_NONE;Method = M_UNKNOWN;httpStatus = HTTP_NIL;outType = plain;};
|
||||
CyhookHandler(){ContentLength = 0; RangeStart = 0; RangeEnd = -1; cached = false; keep_alive = 0; _outIndent = 0;status = HANDLED_NONE;Method = M_UNKNOWN;httpStatus = HTTP_NIL;outType = plain;LastModified=0;};
|
||||
virtual ~CyhookHandler(){};
|
||||
|
||||
// hook slot handler
|
||||
|
@@ -38,6 +38,7 @@
|
||||
CWebserverRequest::CWebserverRequest(CWebserver *pWebserver) {
|
||||
Webserver = pWebserver;
|
||||
CWebserverRequest();
|
||||
Connection=NULL;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
@@ -34,6 +34,7 @@
|
||||
CWebserverResponse::CWebserverResponse(CWebserver *pWebserver) {
|
||||
Webserver = pWebserver;
|
||||
CWebserverResponse();
|
||||
Connection=NULL;
|
||||
}
|
||||
//-----------------------------------------------------------------------------
|
||||
CWebserverResponse::CWebserverResponse() {
|
||||
|
Reference in New Issue
Block a user