From 855d851f47362cfb3a3da07ec4fecece1304d20a Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Mon, 16 Mar 2020 23:23:05 +0100 Subject: [PATCH] updated to libuv v1.35 (close #175) --- CMakeLists.txt | 2 +- src/uvw/udp.h | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 99ea44e3..e239f8c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -67,7 +67,7 @@ function(fetch_libuv) FetchContent_Declare( libuv GIT_REPOSITORY https://github.com/libuv/libuv.git - GIT_TAG v1.34.1 + GIT_TAG v1.35.0 GIT_SHALLOW 1 ) diff --git a/src/uvw/udp.h b/src/uvw/udp.h index 7d905bbc..e211359b 100644 --- a/src/uvw/udp.h +++ b/src/uvw/udp.h @@ -43,7 +43,9 @@ namespace details { enum class UVUDPFlags: std::underlying_type_t { IPV6ONLY = UV_UDP_IPV6ONLY, - REUSEADDR = UV_UDP_REUSEADDR + UDP_PARTIAL = UV_UDP_PARTIAL, + REUSEADDR = UV_UDP_REUSEADDR, + UDP_MMSG_CHUNK = UV_UDP_MMSG_CHUNK }; @@ -145,7 +147,9 @@ public: * Available flags are: * * * `UDPHandle::Bind::IPV6ONLY` + * * `UDPHandle::Bind::UDP_PARTIAL` * * `UDPHandle::Bind::REUSEADDR` + * * `UDPHandle::Bind::UDP_MMSG_CHUNK` * * See the official * [documentation](http://docs.libuv.org/en/v1.x/udp.html#c.uv_udp_flags) @@ -234,7 +238,9 @@ public: * Available flags are: * * * `UDPHandle::Bind::IPV6ONLY` + * * `UDPHandle::Bind::UDP_PARTIAL` * * `UDPHandle::Bind::REUSEADDR` + * * `UDPHandle::Bind::UDP_MMSG_CHUNK` * * See the official * [documentation](http://docs.libuv.org/en/v1.x/udp.html#c.uv_udp_flags) @@ -257,7 +263,9 @@ public: * Available flags are: * * * `UDPHandle::Bind::IPV6ONLY` + * * `UDPHandle::Bind::UDP_PARTIAL` * * `UDPHandle::Bind::REUSEADDR` + * * `UDPHandle::Bind::UDP_MMSG_CHUNK` * * See the official * [documentation](http://docs.libuv.org/en/v1.x/udp.html#c.uv_udp_flags)