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

fix fms token traverse bug, always update the token by the latest valid client.

This commit is contained in:
winlin 2014-06-23 11:18:55 +08:00
parent 6c70e9192b
commit db253bc76b
4 changed files with 32 additions and 2 deletions

View file

@ -89,6 +89,13 @@ public:
* when reload it, the request maybe invalid, so need to copy it.
*/
virtual SrsRequest* copy();
/**
* update the auth info of request,
* to keep the current request ptr is ok,
* for many components use the ptr of request.
*/
virtual void update_auth(SrsRequest* req);
/**
* disconvery vhost/app from tcUrl.