Skip to content

Commit 87bfafc

Browse files
committed
Debug: reuse endpoint with RTC and server error.
1 parent 427104f commit 87bfafc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trunk/src/app/srs_app_server.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@ srs_error_t SrsServer::do_on_tcp_client(ISrsListener* listener, srs_netfd_t& stf
11961196
// TODO: FIXME: Should manage this connection by _srs_rtc_manager
11971197
resource = new SrsRtcTcpConn(io, ip, port, this);
11981198
} else {
1199-
resource = new SrsHttpxConn(listener == http_listener_, this, io, http_server, ip, port);
1199+
resource = new SrsHttpxConn(listener == https_listener_, this, io, http_server, ip, port);
12001200
}
12011201
}
12021202
#endif

0 commit comments

Comments
 (0)