Fix bug for v3.0-r6
This commit is contained in:
parent
da763e43d5
commit
aa12251084
|
|
@ -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 New Issue
Block a user