head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.8 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.6 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.4 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.2 pkgsrc-2025Q2-base:1.1; locks; strict; comment @# @; 1.1 date 2025.05.06.15.49.16; author schmonz; state Exp; branches; next ; commitid WvA9sDs2yDQavRTF; desc @@ 1.1 log @sniproxy: update to latest git. Changes: - autoconf: fail with error if missing required library - fix missing stdlib.h include - libpcre2 support - deprecate project - cleanup autoconf and use debhelper - accept CRLF and LF in HTTP headers, fix buffer overflow error Also apply patch from renaudallard's fork to allocate enough buffer for header sizes seen in common webservers. Add TEST_TARGET. Test results are unchanged by this update on macOS 15.4.1 or NetBSD 10.1 (fail 7/skip 1/pass 14) or Ubuntu 24.04.2 LTS (fails functional_test and bind_source_test, hangs on connection_reset_test). Bump PKGREVISION. @ text @$NetBSD$ Allocate enough buffer for header sizes seen in common webservers. https://github.com/renaudallard/sniproxy/commit/1a504817462209ecaa2f62ff925b58852e22f564 --- tests/slow_client_test.orig 2024-07-02 15:36:27.000000000 +0000 +++ tests/slow_client_test @@@@ -46,7 +46,7 @@@@ sub slow_client($$) { } my $buffer; - $socket->recv($buffer, 4096); + $socket->recv($buffer, 16384); $socket->close(); @