From b69ead10c2d8f34fb456948925bb0a2af8901f30 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Oto=20=C5=A0=C5=A5=C3=A1va?= Date: Tue, 28 May 2024 17:03:24 +0200 Subject: [PATCH] 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. -- 2.47.2