Commit c1ab73f7 by xiongziliang

修复类型转换失败的bug

parent cadff93d
...@@ -284,7 +284,7 @@ static void canAccessPath(TcpSession &sender, const Parser &parser, const MediaI ...@@ -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;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论