1
0
Fork 0
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:
winlin 2015-05-23 07:46:45 +08:00
parent 6bfb743aa0
commit 0bb90145ba
3 changed files with 7 additions and 3 deletions

View file

@ -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()