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
2015-09-14 11:17:04 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f0fc093b19b5a4fa6f2c3e5a2e0274864baaaed7
f0fc093b
1 parent
d07bfa45
fix the http zero content length bug.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
5 行增加
和
0 行删除
trunk/src/app/srs_app_http_conn.cpp
trunk/src/app/srs_app_http_conn.cpp
100755 → 100644
查看文件 @
f0fc093
...
...
@@ -81,6 +81,11 @@ SrsHttpResponseWriter::~SrsHttpResponseWriter()
int
SrsHttpResponseWriter
::
final_request
()
{
// write the header data in memory.
if
(
!
header_wrote
)
{
write_header
(
SRS_CONSTS_HTTP_OK
);
}
// complete the chunked encoding.
if
(
content_length
==
-
1
)
{
std
::
stringstream
ss
;
...
...
请
注册
或
登录
后发表评论