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

For #1657: Refine code

This commit is contained in:
winlin 2020-11-05 15:18:13 +08:00
parent 24125b9770
commit 9cf4203201
3 changed files with 15 additions and 15 deletions

View file

@ -59,15 +59,15 @@ using namespace std;
#include <srs_app_utility.hpp>
#include <srs_app_st.hpp>
ISrsHttpMessageHandler::ISrsHttpMessageHandler()
ISrsHttpConnOwner::ISrsHttpConnOwner()
{
}
ISrsHttpMessageHandler::~ISrsHttpMessageHandler()
ISrsHttpConnOwner::~ISrsHttpConnOwner()
{
}
SrsHttpConn::SrsHttpConn(ISrsHttpMessageHandler* handler, srs_netfd_t fd, ISrsHttpServeMux* m, string cip, int cport)
SrsHttpConn::SrsHttpConn(ISrsHttpConnOwner* handler, srs_netfd_t fd, ISrsHttpServeMux* m, string cip, int cport)
{
parser = new SrsHttpParser();
cors = new SrsHttpCorsMux();
@ -184,7 +184,7 @@ srs_error_t SrsHttpConn::do_cycle()
return err;
}
ISrsHttpMessageHandler* SrsHttpConn::handler()
ISrsHttpConnOwner* SrsHttpConn::handler()
{
return handler_;
}