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-01-17 23:44:21 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e71bc0cbc5c207c09bdd2c37bbf615024d7fca8a
e71bc0cb
1 parent
bbe96a4b
for bug #277, refine the http server.
显示空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
2 行增加
和
5 行删除
trunk/src/app/srs_app_http.cpp
trunk/src/core/srs_core.hpp
trunk/src/main/srs_main_server.cpp
trunk/src/app/srs_app_http.cpp
查看文件 @
e71bc0c
...
...
@@ -564,7 +564,9 @@ int SrsGoHttpServeMux::serve_http(ISrsGoHttpResponseWriter* w, SrsHttpMessage* r
srs_assert
(
h
);
if
((
ret
=
h
->
serve_http
(
w
,
r
))
!=
ERROR_SUCCESS
)
{
if
(
!
srs_is_client_gracefully_close
(
ret
))
{
srs_error
(
"handler serve http failed. ret=%d"
,
ret
);
}
return
ret
;
}
...
...
trunk/src/core/srs_core.hpp
查看文件 @
e71bc0c
...
...
@@ -48,7 +48,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define RTMP_SIG_SRS_CONTRIBUTORS_URL RTMP_SIG_SRS_URL"/blob/master/AUTHORS.txt"
#define RTMP_SIG_SRS_HANDSHAKE RTMP_SIG_SRS_KEY"("RTMP_SIG_SRS_VERSION")"
#define RTMP_SIG_SRS_RELEASE RTMP_SIG_SRS_URL"/tree/1.0release"
#define RTMP_SIG_SRS_HTTP_SERVER RTMP_SIG_SRS_URL"/wiki/v1_CN_HTTPServer#feature"
#define RTMP_SIG_SRS_ISSUES(id) RTMP_SIG_SRS_URL"/issues/"#id
#define RTMP_SIG_SRS_VERSION __SRS_XSTR(VERSION_MAJOR)"."__SRS_XSTR(VERSION_MINOR)"."__SRS_XSTR(VERSION_REVISION)
...
...
trunk/src/main/srs_main_server.cpp
查看文件 @
e71bc0c
...
...
@@ -154,10 +154,6 @@ void show_macro_features()
void
check_macro_features
()
{
// for special features.
#ifdef SRS_AUTO_HTTP_SERVER
srs_warn
(
"http server is dev feature, @see %s"
,
RTMP_SIG_SRS_HTTP_SERVER
);
#endif
#ifndef SRS_PERF_MERGED_READ
srs_warn
(
"MR(merged-read) is disabled, hurts read performance. @see %s"
,
RTMP_SIG_SRS_ISSUES
(
241
));
#endif
...
...
请
注册
或
登录
后发表评论