diff options
author | 2020-12-11 16:36:03 +0000 | |
---|---|---|
committer | 2020-12-11 16:36:03 +0000 | |
commit | 1548e3a9bfedbf27b0a423b1c02f46ce8d705f32 (patch) | |
tree | fefedf821f9323939238e01b13bea39f42b04fee /sys | |
parent | Simplify filt_pipedetach() (diff) | |
download | wireguard-openbsd-1548e3a9bfedbf27b0a423b1c02f46ce8d705f32.tar.xz wireguard-openbsd-1548e3a9bfedbf27b0a423b1c02f46ce8d705f32.zip |
The recent fix to handle large answers in unwind (errata #5 for 6.8)
has the downside to always copy the maximum IMSG size (about 16k)
between the resolver and frontend process for DNS answers because
we had to keep it as simple as possible.
We can now rearange things in -current to be less wasteful. This copies
only the usually small DNS answer.
In the unusual case that a DNS answer is larger than the maximum IMSG size
fragment the message and send multiple IMSGs.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions