From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS43350 77.247.176.0/21 X-Spam-Status: No, score=-1.5 required=3.0 tests=BAYES_00,RCVD_IN_XBL,SPF_FAIL, SPF_HELO_FAIL shortcircuit=no autolearn=no version=3.3.2 X-Original-To: meta@public-inbox.org Received: from 80x24.org (politkovskaja.torservers.net [77.247.181.165]) by dcvr.yhbt.net (Postfix) with ESMTP id C7FC320491 for ; Thu, 28 Apr 2016 01:56:14 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/2] githttpbackend: dumb HTTP fallbacks Date: Thu, 28 Apr 2016 01:56:06 +0000 Message-Id: <20160428015608.23091-1-e@80x24.org> List-Id: Smart HTTP cloning is nice for bandwidth utilization, but it can eat up memory and CPU on a busy server; so fall back to dumb HTTP if there is already a running backend or if an admin decides to set `http.uploadpack' to `false' entirely. Not that our large static file serving is great when it comes to slow clients, at the moment; but of course I shall improve on that... Eric Wong (2): githttpbackend: fall back to dumb if smart HTTP is off githttpbackend: clamp to one smart HTTP request at-a-time lib/PublicInbox/GitHTTPBackend.pm | 52 ++++++++++++++++++++++++++++----------- t/httpd.t | 9 +++++++ 2 files changed, 46 insertions(+), 15 deletions(-)