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:
parent
a95fd6d140
commit
ea1e015a4e
7 changed files with 104 additions and 34 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue