aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorRyan Liptak <squeek502@hotmail.com>2022-02-12 22:04:41 -0800
committerGitHub <noreply@github.com>2022-02-13 01:04:41 -0500
commit912bb8c5778f466adfb4935210d6b4439fdbdd7f (patch)
treeb7568faa0ccf70e339daba1fbd9b38c14bca0dee /docs/src
parent8ec1732af08424163ac78e11ca8aa4a03328db54 (diff)
downloadlibuv-912bb8c5778f466adfb4935210d6b4439fdbdd7f.tar.gz
libuv-912bb8c5778f466adfb4935210d6b4439fdbdd7f.zip
test: fix benchmark-ping-udp (#2817)
- Fixes the declaration of the benchmark in benchmark-list.h (it was not previously runnable at all) - Fixes the benchmark itself hanging infinitely because the data was being dropped via ICMP Destination Unreachable errors (meaning nread was always zero in pinger_read_cb) + The data getting lost was fixed by binding the udp socket - Properly checks for UV_UDP_MMSG_CHUNK, just as an example of what should generally be done (buf_free is actually a no-op as the buf is allocated on the stack)
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions