@@ -57,8 +57,6 @@ bool XEngine_Task_HttpCenter(LPCXSTR lpszClientAddr, LPCXSTR lpszMsgBuffer, int
5757
5858 LPCXSTR lpszMethodPost = _X (" POST" );
5959 LPCXSTR lpszMethodOption = _X (" OPTIONS" );
60- LPCXSTR lpszMethodPass = _X (" Pass" );
61- LPCXSTR lpszMehtodManage = _X (" Manage" );
6260
6361 if (st_ServiceCfg.st_XAuth .bCHAuth )
6462 {
@@ -118,6 +116,10 @@ bool XEngine_Task_HttpCenter(LPCXSTR lpszClientAddr, LPCXSTR lpszMsgBuffer, int
118116
119117 if (0 == _tcsxnicmp (lpszMethodPost, pSt_HTTPParam->tszHttpMethod , _tcsxlen (lpszMethodPost)))
120118 {
119+ LPCXSTR lpszMethodPass = _X (" Pass" );
120+ LPCXSTR lpszMehtodManage = _X (" Manage" );
121+ LPCXSTR lpszMehtodAction = _X (" Action" );
122+
121123 if (!HttpProtocol_ServerHelp_GetUrlApi (pSt_HTTPParam->tszHttpUri , tszAPIVersion, tszAPIMethod, tszAPIName))
122124 {
123125 st_HDRParam.bIsClose = true ;
@@ -137,6 +139,10 @@ bool XEngine_Task_HttpCenter(LPCXSTR lpszClientAddr, LPCXSTR lpszMsgBuffer, int
137139 {
138140 XEngine_Task_Manage (tszAPIName, lpszClientAddr, lpszMsgBuffer, nMsgLen, pSt_HTTPParam, pptszListHdr, nHdrCount);
139141 }
142+ else if (0 == _tcsxnicmp (lpszMehtodAction, tszAPIMethod, _tcsxlen (lpszMehtodAction)))
143+ {
144+
145+ }
140146 }
141147 else if (0 == _tcsxnicmp (lpszMethodOption, pSt_HTTPParam->tszHttpMethod , _tcsxlen (lpszMethodOption)))
142148 {
0 commit comments