mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the http code.
This commit is contained in:
parent
f8f6e438cc
commit
3211282b0c
4 changed files with 18 additions and 14 deletions
|
@ -394,12 +394,14 @@ private:
|
|||
virtual int process_request(ISrsHttpResponseWriter* w, ISrsHttpMessage* r);
|
||||
};
|
||||
|
||||
// TODO: FIXME: rename to SrsResponseOnlyHttpConn.
|
||||
class SrsStaticHttpConn : public SrsHttpConn
|
||||
/**
|
||||
* drop body of request, only process the response.
|
||||
*/
|
||||
class SrsResponseOnlyHttpConn : public SrsHttpConn
|
||||
{
|
||||
public:
|
||||
SrsStaticHttpConn(IConnectionManager* cm, st_netfd_t fd, ISrsHttpServeMux* m);
|
||||
virtual ~SrsStaticHttpConn();
|
||||
SrsResponseOnlyHttpConn(IConnectionManager* cm, st_netfd_t fd, ISrsHttpServeMux* m);
|
||||
virtual ~SrsResponseOnlyHttpConn();
|
||||
public:
|
||||
virtual int on_got_http_message(ISrsHttpMessage* msg);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue