Don't enable QoS marking on ENet connections by default

The caller will enable this itself if appropriate for the given usage.
This commit is contained in:
Cameron Gutman
2023-07-30 13:56:05 -05:00
parent 68ffba7d45
commit 50ab7907d8
-1
View File
@@ -64,7 +64,6 @@ enet_host_create (int addressFamily, const ENetAddress * address, size_t peerCou
enet_socket_set_option (host -> socket, ENET_SOCKOPT_NONBLOCK, 1);
enet_socket_set_option (host -> socket, ENET_SOCKOPT_RCVBUF, ENET_HOST_RECEIVE_BUFFER_SIZE);
enet_socket_set_option (host -> socket, ENET_SOCKOPT_SNDBUF, ENET_HOST_SEND_BUFFER_SIZE);
enet_socket_set_option (host -> socket, ENET_SOCKOPT_QOS, 1);
if (address != NULL && enet_socket_get_address (host -> socket, & host -> address) < 0)
host -> address = * address;