Bug 281255

Summary: www/pound: fix "out of memory" error
Product: Ports & Packages Reporter: Craig Leres <leres>
Component: Individual Port(s)Assignee: Craig Leres <leres>
Status: Closed FIXED    
Severity: Affects Only Me CC: zeus
Priority: --- Flags: bugzilla: maintainer-feedback? (zeus)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch leres: maintainer-approval? (zeus)

Description Craig Leres freebsd_committer freebsd_triage 2024-09-03 20:43:55 UTC
After upgrading from 4.11 to 4.13, my configuration (https on the front end and http on the backend) pound started sysloging "out of memory". I posted an issue on github:

    https://github.com/graygnuorg/pound/issues/35

which was solved by these two commits:

    https://github.com/graygnuorg/pound/commit/0208af3d7691180fac3705b46d035c3141fb6267
    https://github.com/graygnuorg/pound/commit/e900114e61c3459943d4b3f62aecca4ee63b8fa6
    https://github.com/graygnuorg/pound/pull/36
    [Fix generation of X-SSL- headers describing client certificate]
Comment 1 Craig Leres freebsd_committer freebsd_triage 2024-09-03 20:44:56 UTC
Created attachment 253307 [details]
patch
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-09-23 20:29:44 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c390a5e4851180c4a146d3db5ccf5203fd0e3c9d

commit c390a5e4851180c4a146d3db5ccf5203fd0e3c9d
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2024-09-23 20:28:33 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2024-09-23 20:28:33 +0000

    www/pound: fix "out of memory" error

    Apply upstream commits to fix a regression in 4.13:

        https://github.com/graygnuorg/pound/commit/0208af3
        Fix generation of X-SSL- headers describing client certificate

        https://github.com/graygnuorg/pound/commit/e900114
        Add missing \r when breaking up a long header in add_ssl_headers()

    PR:             281255
    Approved by:    zeus@gnu.org.ua (maintainer timeout, 20 days)

 www/pound/Makefile                     |   1 +
 www/pound/files/patch-src_http.c (new) | 189 +++++++++++++++++++++++++++++++++
 2 files changed, 190 insertions(+)