mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 11:41:44 +08:00
bug fixed
This commit is contained in:
@@ -544,6 +544,8 @@ void HttpSession::sendResponse(int code,
|
||||
string str;
|
||||
str.reserve(256);
|
||||
str += "HTTP/1.1 " ;
|
||||
str += to_string(code);
|
||||
str += ' ';
|
||||
str += getHttpStatusMessage(code) ;
|
||||
str += "\r\n";
|
||||
for (auto &pr : header) {
|
||||
|
||||
Reference in New Issue
Block a user