From 50ab7907d8039af2b51d1afe592fe2c8a8383195 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 30 Jul 2023 13:56:05 -0500 Subject: [PATCH] Don't enable QoS marking on ENet connections by default The caller will enable this itself if appropriate for the given usage. --- host.c | 1 - 1 file changed, 1 deletion(-) diff --git a/host.c b/host.c index 1d23176..1cf0c05 100644 --- a/host.c +++ b/host.c @@ -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;