修复类型转换失败的bug

This commit is contained in:
xiongziliang 2019-11-30 22:14:22 +08:00
parent cadff93d4d
commit c1ab73f758

View File

@ -284,7 +284,7 @@ static void canAccessPath(TcpSession &sender, const Parser &parser, const MediaI
bool is_hls = end_of(path,kHlsSuffix);
//该用户从来未获取过cookie这个时候我们广播是否允许该用户访问该http目录
auto accessPathInvoker = [callback, uid, path, is_dir, is_hls](const string &errMsg,
HttpSession::HttpAccessPathInvoker accessPathInvoker = [callback, uid, path, is_dir, is_hls]( const string &errMsg,
const string &cookie_path_in,
int cookieLifeSecond) {
HttpServerCookie::Ptr cookie;