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:55:48 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
133a6f0dbfb977ede75c2b1a0e6f448fb7a179aa
133a6f0d
1 parent
b71eb0d4
add crossdomain support for http error
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
2 行增加
和
3 行删除
trunk/src/app/srs_app_http.cpp
trunk/src/app/srs_app_http.cpp
查看文件 @
133a6f0
...
...
@@ -294,9 +294,8 @@ int SrsHttpHandler::res_error(SrsSocket* skt, int code, std::string reason_phras
{
std
::
stringstream
ss
;
res_status_line_error
(
ss
,
code
,
reason_phrase
)
->
res_content_type_json
(
ss
)
->
res_content_length
(
ss
,
(
int
)
body
.
length
())
res_status_line_error
(
ss
,
code
,
reason_phrase
)
->
res_content_type_json
(
ss
)
->
res_content_length
(
ss
,
(
int
)
body
.
length
())
->
res_enable_crossdomain
(
ss
)
->
res_header_eof
(
ss
)
->
res_body
(
ss
,
body
);
...
...
请
注册
或
登录
后发表评论