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

fix the http read chunked encoding bug.

This commit is contained in:
winlin 2015-05-04 18:11:52 +08:00
parent a95fd6d140
commit ea1e015a4e
7 changed files with 104 additions and 34 deletions

View file

@ -1163,7 +1163,7 @@ int SrsServer::accept_client(SrsListenerType type, st_netfd_t client_stfd)
#endif
} else if (type == SrsListenerHttpStream) {
#ifdef SRS_AUTO_HTTP_SERVER
conn = new SrsHttpConn(this, client_stfd, &http_stream_mux->mux);
conn = new SrsStaticHttpConn(this, client_stfd, &http_stream_mux->mux);
#else
srs_warn("close http client for server not support http-server");
srs_close_stfd(client_stfd);