From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED shortcircuit=no autolearn=unavailable autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 6D8881F71A for ; Tue, 24 May 2016 04:22:27 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/3] more networking/daemon fixes Date: Tue, 24 May 2016 04:22:20 +0000 Message-Id: <20160524042223.27700-1-e@80x24.org> List-Id: This series finally reinstates process limiting by queueing processes instead of rejecting and falling back to dumb. Falling back to dumb fails badly if we have to switch in the middle of a pack negotiation. I've tested it a bunch with aborted git clones of large repositories with our own -httpd (using async) and fixed a few longstanding bugs. The generic PSGI code still needs work to resume properly and to avoid leaking references. Eric Wong (3): standardize timer-related event-loop code http: fix various race conditions git-http-backend: use qspawn to limit running processes lib/PublicInbox/EvCleanup.pm | 41 ++++++++++++++++++++ lib/PublicInbox/GitHTTPBackend.pm | 38 ++++++++----------- lib/PublicInbox/HTTP.pm | 80 +++++++++++++++++++-------------------- lib/PublicInbox/HTTPD/Async.pm | 3 +- lib/PublicInbox/NNTP.pm | 30 +++++++-------- lib/PublicInbox/Qspawn.pm | 52 +++++++++++++++++++++++++ t/qspawn.t | 60 +++++++++++++++++++++++++++++ 7 files changed, 223 insertions(+), 81 deletions(-)