Skip to content

Commit 653c353

Browse files
committed
fixed:option not server info
1 parent 9148ba5 commit 653c353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XEngine_Source/XEngine_ServiceApp/XEngine_StreamMediaApp/XEngine_HttpTask.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ bool XEngine_HTTPTask_Handle(RFCCOMPONENTS_HTTP_REQPARAM* pSt_HTTPParam, LPCXSTR
145145
"Access-Control-Allow-Credentials: false\r\n"
146146
"Access-Control-Request-Private-Network: true\r\n"
147147
"Content-Length: 0\r\n"
148-
"Server: %s\r\n\r\n"), BaseLib_OperatorVer_XTypeStr());
148+
"Server: %s/V%s\r\n\r\n"), XENGINE_NAME_STR, BaseLib_OperatorVer_XNumberStr());
149149

150150
XEngine_Network_Send(lpszClientAddr, tszSDBuffer, nSDLen, ENUM_XENGINE_STREAMMEDIA_CLIENT_TYPE_HTTP);
151151
XLOG_PRINT(xhLog, XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_ERROR, _X("HTTP接口:%s,请求OPTION方法成功"), lpszClientAddr);

0 commit comments

Comments
 (0)