[pve-devel] [PATCH proxmox-acme 1/1] Close the acme standalone connection after sending a response
Daniel Berteaud
daniel at firewall-services.com
Wed Sep 30 16:09:09 CEST 2020
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 <daniel at firewall-services.com>
---
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
More information about the pve-devel
mailing list