Update ENet submodule

This commit is contained in:
Cameron Gutman 2023-07-30 14:02:28 -05:00
parent 6d039a646b
commit f2cea4d6b0
2 changed files with 7 additions and 1 deletions

2
enet

@ -1 +1 @@
Subproject commit bdda0eecc5223cd31fd5e5d5e57a3e805c0fcb74
Subproject commit 880e41f3ab572ad6d8f064c6cc77e04f46d00956

View File

@ -1428,6 +1428,12 @@ int startControlStream(void) {
client->intercept = ignoreDisconnectIntercept;
// Enable high priority QoS marking on control stream traffic
//
// NB: It is important to do this before connecting because there's logic in the connect
// retransmission code to detect QoS-intolerant routes and disable QoS marking for those.
enet_socket_set_option (client->socket, ENET_SOCKOPT_QOS, 1);
// Connect to the host
peer = enet_host_connect(client, &address, CTRL_CHANNEL_COUNT, 0);
if (peer == NULL) {