mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #391, copy request for async call.
This commit is contained in:
parent
6bfb743aa0
commit
0bb90145ba
3 changed files with 7 additions and 3 deletions
|
@ -498,12 +498,13 @@ int SrsFlvSegment::on_reload_vhost_dvr(std::string /*vhost*/)
|
|||
|
||||
SrsDvrAsyncCallOnDvr::SrsDvrAsyncCallOnDvr(SrsRequest* r, string p)
|
||||
{
|
||||
req = r;
|
||||
req = r->copy();
|
||||
path = p;
|
||||
}
|
||||
|
||||
SrsDvrAsyncCallOnDvr::~SrsDvrAsyncCallOnDvr()
|
||||
{
|
||||
srs_freep(req);
|
||||
}
|
||||
|
||||
int SrsDvrAsyncCallOnDvr::call()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue