Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-04-03 15:20:24 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f2216691f91c639066cc444acf6e82e316296bbd
f2216691
1 parent
818c1f15
remove the duplicated http status line when error
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
0 行增加
和
3 行删除
trunk/src/app/srs_app_http.cpp
trunk/src/app/srs_app_http.cpp
查看文件 @
f221669
...
...
@@ -293,9 +293,6 @@ int SrsHttpHandler::res_json(SrsSocket* skt, std::string json)
int
SrsHttpHandler
::
res_error
(
SrsSocket
*
skt
,
int
code
,
std
::
string
reason_phrase
,
std
::
string
body
)
{
std
::
stringstream
ss
;
ss
<<
"HTTP/1.1 "
<<
code
<<
" "
<<
reason_phrase
<<
__CRLF
<<
"Server: SRS/"
RTMP_SIG_SRS_VERSION
""
<<
__CRLF
;
res_status_line_error
(
ss
,
code
,
reason_phrase
)
->
res_content_type_json
(
ss
)
...
...
请
注册
或
登录
后发表评论