提交 9224efea 编写于 作者: M Matt Witherspoon

Fix UDP double tap in fc's UDP send_to fast path

上级 74a4c7a0
......@@ -44,6 +44,7 @@ namespace fc
try
{
my->_sock->send_to(boost::asio::buffer(buffer, length), to);
return;
}
catch(const boost::system::system_error& e)
{
......@@ -66,6 +67,7 @@ namespace fc
try
{
my->_sock->send_to(boost::asio::buffer(buffer.get(), length), to);
return;
}
catch(const boost::system::system_error& e)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册