From: Oto Šťáva Date: Tue, 28 May 2024 15:03:24 +0000 (+0200) Subject: amend! daemon/proxyv2: move PROXY protocol into its own layer X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fenvironments%2Fdocs-develop-nits-2dntdj%2Fdeployments%2F4201;p=thirdparty%2Fknot-resolver.git amend! daemon/proxyv2: move PROXY protocol into its own layer daemon/proxyv2: move PROXY protocol into its own layer Previously, PROXYv2 handling was partially implemented in the `io.c` unit in the `_TCP` and `_UDP` protocol layers, which technically made very little sense. This commit moves this handling into separate `_PROXYV2_DGRAM` and `_PROXYV2_STREAM` protocol layers, basically encapsulating the handling of proxies in the `proxyv2.c` unit. This commit also removes support for `PROTOLAYER_PAYLOAD_IOVEC`-type buffers from the PROXYv2 layer, as it was unused in this context. ---