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:
parent
24125b9770
commit
9cf4203201
3 changed files with 15 additions and 15 deletions
|
@ -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_;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue