正在显示
1 个修改的文件
包含
0 行增加
和
3 行删除
@@ -293,9 +293,6 @@ int SrsHttpHandler::res_json(SrsSocket* skt, std::string json) | @@ -293,9 +293,6 @@ int SrsHttpHandler::res_json(SrsSocket* skt, std::string json) | ||
293 | int SrsHttpHandler::res_error(SrsSocket* skt, int code, std::string reason_phrase, std::string body) | 293 | int SrsHttpHandler::res_error(SrsSocket* skt, int code, std::string reason_phrase, std::string body) |
294 | { | 294 | { |
295 | std::stringstream ss; | 295 | std::stringstream ss; |
296 | - | ||
297 | - ss << "HTTP/1.1 " << code << " " << reason_phrase << __CRLF | ||
298 | - << "Server: SRS/"RTMP_SIG_SRS_VERSION"" << __CRLF; | ||
299 | 296 | ||
300 | res_status_line_error(ss, code, reason_phrase) | 297 | res_status_line_error(ss, code, reason_phrase) |
301 | ->res_content_type_json(ss) | 298 | ->res_content_type_json(ss) |
-
请 注册 或 登录 后发表评论