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

For #1657: Refine TCP connections arch

This commit is contained in:
winlin 2020-11-05 12:25:54 +08:00
parent 4ba66b388b
commit 2a14dc0ebd
10 changed files with 29 additions and 286 deletions

View file

@ -1680,7 +1680,7 @@ SrsHttpApi::SrsHttpApi(ISrsResourceManager* cm, srs_netfd_t fd, SrsHttpServeMux*
cors = new SrsHttpCorsMux();
parser = new SrsHttpParser();
skt = new SrsTcpConnection2(fd);
skt = new SrsTcpConnection(fd);
manager = cm;
ip = cip;
port = cport;