Evan Hunt and Michał Kępień
9a372f2bce
Use different allocators for UDP and TCP
...
Each worker has a receive buffer with space for 20 DNS messages of up
to 2^16 bytes each, and the allocator function passed to uv_read_start()
or uv_udp_recv_start() will reserve a portion of it for use by sockets.
UDP can use recvmmsg() and so it needs that entire space, but TCP reads
one message at a time.
This commit introduces separate allocator functions for TCP and UDP
setting different buffer size limits, so that libuv will provide the
correct buffer sizes to each of them.
2020-08-05 12:57:58 +02:00
..
2020-07-31 12:54:47 +10:00
2020-08-05 12:57:58 +02:00
2020-05-25 17:04:04 -07:00
2020-07-30 11:57:24 +02:00
2020-07-31 12:54:47 +10:00
2020-07-31 12:54:47 +10:00
2020-03-11 08:55:12 +00:00
2020-07-15 23:10:55 +02:00
2020-05-25 17:04:04 -07:00
2020-06-08 15:57:31 +00:00
2020-05-25 17:04:04 -07:00
2020-02-14 05:35:29 +00:00
2020-02-14 08:45:59 +00:00
2020-02-14 08:45:59 +00:00
2020-02-14 08:45:59 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-03-11 08:55:12 +00:00
2020-02-14 08:45:59 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-07-30 11:57:24 +02:00
2020-02-14 05:35:29 +00:00
2020-02-14 08:45:59 +00:00
2020-04-28 16:28:54 +02:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-07-31 12:54:47 +10:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-07-31 10:01:36 +10:00
2020-05-13 10:26:39 +10:00
2020-04-28 15:24:07 +02:00
2020-07-31 12:54:47 +10:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-07-14 10:53:06 +10:00
2020-02-14 05:35:29 +00:00
2020-03-11 08:55:12 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-05-01 06:54:26 +02:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-06-10 17:52:53 +02:00
2020-06-25 21:11:27 +10:00
2020-02-14 05:35:29 +00:00
2020-02-14 08:45:59 +00:00
2020-02-21 07:05:31 +00:00
2020-02-14 05:35:29 +00:00
2020-02-27 12:07:16 +01:00
2020-02-20 19:21:01 +00:00
2020-04-28 16:27:39 +02:00
2020-02-14 05:35:29 +00:00
2020-07-30 11:57:24 +02:00
2020-03-17 15:33:24 -07:00
2020-04-03 20:22:55 +02:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-05-30 07:50:30 +02:00
2020-02-14 05:35:29 +00:00
2020-02-14 08:45:59 +00:00
2020-02-14 05:35:29 +00:00
2020-05-13 10:26:39 +10:00
2020-02-14 05:35:29 +00:00