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 21:44:47 +08:00
parent 2fedb683e8
commit 5782b45978
2 changed files with 6 additions and 7 deletions

View file

@ -119,8 +119,7 @@ public:
private:
virtual srs_error_t do_cycle();
virtual srs_error_t process_requests(SrsRequest** preq);
private:
virtual srs_error_t process_request(ISrsHttpResponseWriter* w, ISrsHttpMessage* r);
virtual srs_error_t process_request(ISrsHttpResponseWriter* w, ISrsHttpMessage* r, int rid);
// When the connection disconnect, call this method.
// e.g. log msg of connection and report to other system.
// @param request: request which is converted by the last http message.