Don't set ToS on sockets
This commit is contained in:
@@ -45,14 +45,6 @@ template <typename T>
|
||||
void init_stream(T & stream)
|
||||
{
|
||||
stream.set_receive_buffer_size(1024 * 1024 * 5);
|
||||
try
|
||||
{
|
||||
stream.set_tos(IPTOS_DSCP_EF);
|
||||
}
|
||||
catch (std::exception & e)
|
||||
{
|
||||
spdlog::warn("Failed to set IP ToS to Expedited Forwarding: {}", e.what());
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user