mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-23 03:10:04 +08:00
修复类型转换失败的bug
This commit is contained in:
parent
cadff93d4d
commit
c1ab73f758
@ -284,7 +284,7 @@ static void canAccessPath(TcpSession &sender, const Parser &parser, const MediaI
|
|||||||
|
|
||||||
bool is_hls = end_of(path,kHlsSuffix);
|
bool is_hls = end_of(path,kHlsSuffix);
|
||||||
//该用户从来未获取过cookie,这个时候我们广播是否允许该用户访问该http目录
|
//该用户从来未获取过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,
|
const string &cookie_path_in,
|
||||||
int cookieLifeSecond) {
|
int cookieLifeSecond) {
|
||||||
HttpServerCookie::Ptr cookie;
|
HttpServerCookie::Ptr cookie;
|
||||||
|
Loading…
Reference in New Issue
Block a user