From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id EDFB9628D0 for ; Wed, 30 Sep 2020 16:18:50 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id E3A701A554 for ; Wed, 30 Sep 2020 16:18:20 +0200 (CEST) Received: from pmg.fws.fr (pmg.fws.fr [51.91.175.36]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 086D71A53F for ; Wed, 30 Sep 2020 16:18:19 +0200 (CEST) Received: from pmg.fws.fr (localhost [127.0.0.1]) by pmg.fws.fr (Proxmox) with ESMTP id 6E2C4C19CF for ; Wed, 30 Sep 2020 16:09:35 +0200 (CEST) Received: from zmproxy.fws.fr (zmproxy.fws.fr [10.29.1.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pmg.fws.fr (Proxmox) with ESMTPS id 9F2EEC0050 for ; Wed, 30 Sep 2020 16:09:34 +0200 (CEST) Received: from zmproxy.fws.fr (localhost [127.0.0.1]) by zmproxy.fws.fr (Postfix) with ESMTPS id 9B47F8B79BF; Wed, 30 Sep 2020 16:09:34 +0200 (CEST) Received: from zmproxy.fws.fr (localhost [127.0.0.1]) by zmproxy.fws.fr (Postfix) with ESMTPS id 841CD8B79C0; Wed, 30 Sep 2020 16:09:34 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 zmproxy.fws.fr 841CD8B79C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=firewall-services.com; s=7DAD15A2-D84A-11E9-8F77-BEC4FAA34EBC; t=1601474974; bh=IzuZTXnwKuxfGr2fkSSJUP6wB8ygop7kEsguebeys44=; h=From:To:Date:Message-Id:MIME-Version; b=OEcpDUshJ8FaBH9ANrchZGFwjFfsARGru6Cu94SgupoR66o13WOZbSWsEYdM0Ywkr B73DPi1bJPmXFDraSeEU/QTm/Wt6AsFAQ5gI1p7FDWJBF/3r64yv1ozSQ1FNgnpUrG CpWXUe/bajBY1CtQu1cTC3Kxxpt91Sq14NT6qYn2B+xMcjpThjUJkkQXgRhC2MpFHd DFTPN3cooAWGpghEwZljgkbzuoOWBP+XfYdOwdHb/tFR36wO4FAk32h+By+4ncnImo mjTwk11jQ7cbW8eRmAjT/fBZtmPAylCLXh5Fcs79AeRKqzPyPyxYJ2FyUH+gHcZsoH feWjO1QB5Xo2w== Received: from germaine.lapiole.org (unknown [192.168.7.101]) by zmproxy.fws.fr (Postfix) with ESMTPSA id 649598B79BF; Wed, 30 Sep 2020 16:09:34 +0200 (CEST) From: Daniel Berteaud To: pve-devel@lists.proxmox.com Date: Wed, 30 Sep 2020 16:09:09 +0200 Message-Id: <20200930140909.1612753-2-daniel@firewall-services.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200930140909.1612753-1-daniel@firewall-services.com> References: <20200930140909.1612753-1-daniel@firewall-services.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.025 Adjusted score from AWL reputation of From: address DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [firewall-services.com, standalone.pm] Subject: [pve-devel] [PATCH proxmox-acme 1/1] Close the acme standalone connection after sending a response X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2020 14:18:51 -0000 Without this, the first req get a response, but not the next ones as the listeners stays busy Fixes #3048 Signed-off-by: Daniel Berteaud --- src/PVE/ACME/StandAlone.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/ACME/StandAlone.pm b/src/PVE/ACME/StandAlone.pm index 0e2ece6..552c35c 100644 --- a/src/PVE/ACME/StandAlone.pm +++ b/src/PVE/ACME/StandAlone.pm @@ -55,8 +55,8 @@ sub setup { } else { $c->send_error(404, 'Not found.') } + $c->close(); } - $c->close(); $c = undef; } } -- 2.26.2