From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 071171F47C for ; Fri, 6 Jan 2023 10:11:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1672999861; bh=ZIr35up1mkUVwTG3zYP7T5yZQok8YH71m3L9qt23gSI=; h=From:To:Subject:Date:From; b=mIqQ85sIk1gjRyA5nj/XQ87N+Y+/JaTlvJdi42lh3ibzLx4YCiEm6iyjyYDKkb2YW 0qOBS3boZbfxZIyIPruzmpETrY+WKUWolKsL51uXKxlW5UB6yjUx1Yv9gcFKogS9FD i5WuIHr7oFeujgKaOLpUrCI/1OnBMI+C6456Zeh0= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/4] www_coderepo vs cgit fallback fixes Date: Fri, 6 Jan 2023 10:10:49 +0000 Message-Id: <20230106101053.1461700-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 2/4 is critical in that it fixes occasional 500 errors noticed in my cgit -> www_coderepo migration. There's a few other problems noticed an fixed along the way as well; having to contort our code to PSGI expectations leads to some awkwardness, unfortunately :< Eric Wong (4): qspawn: use fallback response code from CGI program httpd/async: retry reads properly when parsing headers qspawn: consistently return 500 on premature EOF qspawn: fix EINTR with generic PSGI servers lib/PublicInbox/GitHTTPBackend.pm | 1 + lib/PublicInbox/HTTPD/Async.pm | 8 +++++--- lib/PublicInbox/Qspawn.pm | 18 +++++++++++++----- 3 files changed, 19 insertions(+), 8 deletions(-)