Files
dnsmasq/src
Simon Kelley ed2ba5b07a Optimise TCP send.
In the DNS TCP code, there are a couple of places where
we have a buffer containing a message which we need to
send via TCP. The DNS protocol is that this is sent as
<16-bit length in network order><message>

Making two write calls, one for the length and one
for the message causes the TCP stack to send two packets,
one for each. A single packet containing both is
preferable from a performance POV.

Implement a scatter-gather version of our read_write()
wrapper and use it where necessary to send TCP DNS messages.
2026-01-28 14:57:50 +00:00
..
2025-02-08 22:58:42 +00:00
2026-01-18 12:50:57 +00:00
2026-01-14 20:08:41 +00:00
2025-01-23 17:08:39 +00:00
2025-01-23 17:08:39 +00:00
2025-01-23 17:08:39 +00:00
2025-08-20 12:36:03 +01:00
2025-07-27 15:27:40 +01:00
2025-11-28 15:14:09 +00:00
2026-01-26 15:25:22 +00:00
2026-01-28 14:57:50 +00:00
2025-06-25 15:02:47 +01:00
2025-01-23 17:08:39 +00:00
2025-01-23 17:08:39 +00:00
2026-01-28 14:57:50 +00:00
2025-01-23 17:08:39 +00:00
2025-06-03 22:16:50 +01:00
2025-01-23 17:08:39 +00:00
2025-06-20 15:48:47 +01:00
2025-05-14 22:35:51 +01:00
2025-01-23 17:08:39 +00:00
2025-01-23 17:08:39 +00:00
2026-01-24 22:16:23 +00:00
2025-01-23 17:08:39 +00:00
2025-01-23 17:08:39 +00:00
2025-03-29 21:41:40 +00:00
2025-01-23 17:08:39 +00:00
2025-03-29 21:41:40 +00:00
2025-08-21 22:13:43 +01:00
2025-03-14 15:12:45 +00:00
2025-03-29 21:41:40 +00:00
2025-06-20 15:48:47 +01:00
2025-09-01 22:35:02 +01:00
2026-01-28 14:57:50 +00:00