mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Merge branch '2.0release' into develop
This commit is contained in:
commit
79fbeeb8c6
1 changed files with 1 additions and 1 deletions
|
@ -1294,7 +1294,7 @@ SrsRequest* SrsHttpMessage::to_request(string vhost)
|
|||
SrsRequest* req = new SrsRequest();
|
||||
|
||||
req->app = _uri->get_path();
|
||||
ssize_t pos = string::npos;
|
||||
size_t pos = string::npos;
|
||||
if ((pos = req->app.rfind("/")) != string::npos) {
|
||||
req->stream = req->app.substr(pos + 1);
|
||||
req->app = req->app.substr(0, pos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue