#include "NyLPC_cHttpdConnection_protected.h"\r
#include "NyLPC_cHttpdThread_protected.h"\r
\r
-#define LIMIT_OF_PERSISTENT_CONNECTION (NyLPC_cNet_NUMBER_OF_THREAD-1)\r
\r
static int server(void* p);\r
\r
void NyLPC_cHttpdThread_initialize(NyLPC_TcHttpdThread_t* i_inst,NyLPC_TcHttpd_t* i_parent,NyLPC_TInt32 i_prio)\r
{\r
NyLPC_cHttpdConnection_initialize(&(i_inst->_connection),i_parent);\r
- NyLPC_cThread_initialize(&(i_inst->_super),NyLPC_TcHttpdThread_SIZE_OF_THREAD_STACK,i_prio);\r
+ NyLPC_cThread_initialize(&(i_inst->_super),NyLPC_cHttpdThread_SIZE_OF_THREAD_STACK,i_prio);\r
}\r
void NyLPC_cHttpdThread_finalize(NyLPC_TcHttpdThread_t* i_inst)\r
{\r
break;\r
}\r
//持続性接続の初期モードを設定\r
- if(NyLPC_cHttpd_getNumOfConnection(inst->_parent_httpd)>LIMIT_OF_PERSISTENT_CONNECTION){\r
+ if(NyLPC_cHttpd_getNumOfConnection(inst->_parent_httpd)>NyLPC_cHttpd_MAX_PERSISTENT_CONNECTION){\r
NyLPC_cHttpdConnection_setConnectionMode(inst,NyLPC_TcHttpdConnection_CONNECTION_MODE_CLOSE);\r
}else{\r
NyLPC_cHttpdConnection_setConnectionMode(inst,NyLPC_TcHttpdConnection_CONNECTION_MODE_CONTINUE);\r