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:25:55 +08:00
parent c3d290013e
commit 2fedb683e8
2 changed files with 59 additions and 45 deletions

View file

@ -118,6 +118,7 @@ public:
virtual srs_error_t cycle();
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);
// When the connection disconnect, call this method.