From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.1 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id D79C01F601 for ; Thu, 15 Dec 2022 20:52:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1671137575; bh=6pDNtXbGu7GQf4Wngt/arxSo1NGzs7ponVc2Hw0s/aw=; h=From:To:Subject:Date:From; b=ww9E/VP/gN7Lha/2xem6qXFq5zGzLvn1JWGQoD99d8Rib8N5JXKMMrzqeAnQ2N5DN ppvDhq/p3K1Qeg2URIwxxJpLQAan4aaQ6DhahWBfnYd4wlaYCmuC3MfpRlo4lxbBXs sXtLNix05stEgz98KB7kGfWi0osemJaW5dhzs2kw= From: Eric Wong To: mwrap-perl@80x24.org Subject: [PATCH 00/19] another round of httpd improvements Date: Thu, 15 Dec 2022 20:52:36 +0000 Message-Id: <20221215205255.27840-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Eric Wong (19): mwrap_httpd: show current bytes consistently introduce AUTO_FREE macro to simplify cleanup httpd: rework httpd to use auto-free for memstream httpd: avoid newline if not using bt: >= 1 mwrap_httpd: flesh out /$PID/ and /$PID/trim endpoints mwrap_httpd: add info about src_file and src_loc stats use uatomic_inc where appropriate httpd: drop unnecessary AND ops from base-64 mymalloc: add notes on the malloc implementation rproxy: link to mwrap_httpd /$PID/ root without each, too httpd: shrink `mean_life' field to `double' httpd: support CSV output rproxy: enable deflater by default mwrap_httpd: do not abort on fork if out-of-resources httpd: pause forking thread on resource limitations rename mwrap_httpd.h to httpd.h httpd: describe simple and naive buffering scheme httpd: drop TODO item for pipelining avoid -Warray-bounds warning, avoid stack overallocation MANIFEST | 4 +- Mwrap.xs | 5 +- mwrap_httpd.h => httpd.h | 467 ++++++++++++++++++++++------------- lib/Devel/Mwrap/PSGI.pm | 2 + lib/Devel/Mwrap/Rproxy.pm | 7 +- mwrap_core.h | 53 +++- mymalloc.h | 15 +- script/mwrap-rproxy | 12 +- t/{mwrap-httpd.t => httpd.t} | 29 +++ 9 files changed, 398 insertions(+), 196 deletions(-) rename mwrap_httpd.h => httpd.h (71%) rename t/{mwrap-httpd.t => httpd.t} (79%)