libuv/src
Ben Noordhuis aa7b62efd9 win: make uv_udp_init_ex() accept UV_UDP_RECVMMSG
Commit 5736658b ("udp: add flag to enable recvmmsg(2) explicitly") added
the flag but didn't update the validation logic in src/win/udp.c.

This commit moves the validation logic to src/uv-common.c. The flag is
now accepted as a no-op on Windows.

Fixes: https://github.com/libuv/libuv/issues/2806
PR-URL: https://github.com/libuv/libuv/pull/2809
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
2020-04-28 17:57:35 +02:00
..
unix win: make uv_udp_init_ex() accept UV_UDP_RECVMMSG 2020-04-28 17:57:35 +02:00
win win: make uv_udp_init_ex() accept UV_UDP_RECVMMSG 2020-04-28 17:57:35 +02:00
fs-poll.c unix,win: fix uv_fs_poll_stop() when active 2019-05-06 15:02:01 +02:00
heap-inl.h heap: fix heap_remove() 2014-05-23 20:04:42 +04:00
idna.c unix,win: support IDNA 2008 in uv_getaddrinfo() 2018-10-30 20:50:23 +01:00
idna.h unix,win: support IDNA 2008 in uv_getaddrinfo() 2018-10-30 20:50:23 +01:00
inet.c unix: harden string copying, introduce strscpy() 2018-12-04 17:08:09 +01:00
queue.h unix: use QUEUE_MOVE when iterating over lists 2015-10-08 21:47:43 +02:00
random.c netbsd: use KERN_ARND sysctl to get entropy 2019-10-29 13:36:05 +01:00
strscpy.c unix: harden string copying, introduce strscpy() 2018-12-04 17:08:09 +01:00
strscpy.h unix: harden string copying, introduce strscpy() 2018-12-04 17:08:09 +01:00
threadpool.c unix,win: add uv_library_shutdown() 2020-04-22 12:24:36 +02:00
timer.c timer: remove redundant check in heap compare 2020-04-16 14:54:51 +02:00
uv-common.c win: make uv_udp_init_ex() accept UV_UDP_RECVMMSG 2020-04-28 17:57:35 +02:00
uv-common.h win: make uv_udp_init_ex() accept UV_UDP_RECVMMSG 2020-04-28 17:57:35 +02:00
uv-data-getter-setters.c test,sunos: fix statement not reached warnings 2019-03-16 13:22:16 -04:00
version.c core: add UV_VERSION_HEX macro 2015-06-29 23:08:41 +02:00