Update worker.pl

This commit is contained in:
Namhyeon Go 2024-03-07 16:48:28 +09:00 committed by GitHub
parent 968791c233
commit 992ff329d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -130,10 +130,6 @@ sub relay_request {
my $scheme = $params->{'scheme'};
my $datetime = $params->{'datetime'};
if ($scheme ~~ ["https", "ssl", "tls"]) {
$remote_address = "tls://" . $remote_address;
}
given ($request_header->{'@method'}[0]) {
when ("CONNECT") {
my $error = {