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-05-24 13:01:23 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f510a3d6fba2de2c9d82829219f59085efd5af86
f510a3d6
1 parent
9e342f41
add /api/v1/versions for http server for go-sharp to detect.
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
7 行增加
和
0 行删除
trunk/src/app/srs_app_server.cpp
trunk/src/app/srs_app_server.cpp
查看文件 @
f510a3d
...
...
@@ -787,6 +787,13 @@ int SrsServer::http_handle()
}
#endif
#ifdef SRS_AUTO_HTTP_SERVER
// for SRS go-sharp to detect the status of HTTP server of SRS HTTP FLV Cluster.
if
((
ret
=
http_stream_mux
->
mux
.
handle
(
"/api/v1/versions"
,
new
SrsGoApiVersion
()))
!=
ERROR_SUCCESS
)
{
return
ret
;
}
#endif
return
ret
;
}
...
...
请
注册
或
登录
后发表评论