1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

for bug #277, refine the http server.

This commit is contained in:
winlin 2015-01-17 23:44:21 +08:00
parent bbe96a4b31
commit e71bc0cbc5
3 changed files with 3 additions and 6 deletions

View file

@ -564,7 +564,9 @@ int SrsGoHttpServeMux::serve_http(ISrsGoHttpResponseWriter* w, SrsHttpMessage* r
srs_assert(h);
if ((ret = h->serve_http(w, r)) != ERROR_SUCCESS) {
srs_error("handler serve http failed. ret=%d", ret);
if (!srs_is_client_gracefully_close(ret)) {
srs_error("handler serve http failed. ret=%d", ret);
}
return ret;
}