mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 11:21:52 +00:00
Fix bug for v3.0-r6
This commit is contained in:
parent
2be8589a8a
commit
e7435a6237
1 changed files with 6 additions and 1 deletions
|
@ -119,8 +119,13 @@ srs_error_t SrsLatestVersion::query_latest_version()
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Path with query.
|
||||||
|
string path = uri.get_path();
|
||||||
|
path += "?";
|
||||||
|
path += uri.get_query();
|
||||||
|
|
||||||
ISrsHttpMessage* msg = NULL;
|
ISrsHttpMessage* msg = NULL;
|
||||||
if ((err = http.get(uri.get_path(), "", &msg)) != srs_success) {
|
if ((err = http.get(path, "", &msg)) != srs_success) {
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
SrsAutoFree(ISrsHttpMessage, msg);
|
SrsAutoFree(ISrsHttpMessage, msg);
|
||||||
|
|
Loading…
Reference in a new issue