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
2017-01-20 12:11:52 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a3ea83f50477c316a534654e8e674ff3fc6d02c3
a3ea83f5
1 parent
99c13fb1
directly free the transport, not need to close for maybe NULL
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
1 行增加
和
2 行删除
trunk/src/app/srs_app_http_client.cpp
trunk/src/app/srs_app_st.hpp
trunk/src/app/srs_app_http_client.cpp
查看文件 @
a3ea83f
...
...
@@ -218,8 +218,6 @@ void SrsHttpClient::kbps_sample(const char* label, int64_t age)
void
SrsHttpClient
::
disconnect
()
{
kbps
->
set_io
(
NULL
,
NULL
);
transport
->
close
();
srs_freep
(
transport
);
}
...
...
trunk/src/app/srs_app_st.hpp
查看文件 @
a3ea83f
...
...
@@ -217,6 +217,7 @@ public:
* client.connect();
* client.write("Hello world!", 12, NULL);
* client.read(buf, 4096, NULL);
* @remark User can directly free the object, which will close the fd.
*/
class
SrsTcpClient
:
public
ISrsProtocolReaderWriter
{
...
...
请
注册
或
登录
后发表评论