Commit af57691b by xiongziliang

c++14相关代码替换为c++11代码

parent 79701389
...@@ -148,10 +148,10 @@ bool HttpSession::checkWebSocket(){ ...@@ -148,10 +148,10 @@ bool HttpSession::checkWebSocket(){
sendResponse(101, false, nullptr, headerOut, nullptr, true); sendResponse(101, false, nullptr, headerOut, nullptr, true);
}; };
auto res_cb_flv = [this, header = std::move(headerOut)]() mutable { auto res_cb_flv = [this, headerOut]() mutable {
_live_over_websocket = true; _live_over_websocket = true;
header.emplace("Cache-Control", "no-store"); headerOut.emplace("Cache-Control", "no-store");
sendResponse(101, false, nullptr, header, nullptr, true); sendResponse(101, false, nullptr, headerOut, nullptr, true);
}; };
//判断是否为websocket-flv //判断是否为websocket-flv
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论