diff --git a/lib/haproxy_parser.pm b/lib/haproxy_parser.pm index ba30441..9b2b841 100644 --- a/lib/haproxy_parser.pm +++ b/lib/haproxy_parser.pm @@ -23,13 +23,8 @@ sub parser { $host = $2; }; } elsif($string =~ m/https\/1: (Timeout|Connection closed) during SSL handshake/) { - $_ = $string; - $reply = 'SSL handshake error'; - $hostile = 1; - PARSE: - m/(:\ ($re_host):[0-9]{1,6})/gcix && do { - $host = $2; - }; + $_ = $string; + $reply = 'SSL handshake error'; } elsif($string =~ m/http(s\~|) http(s|)\/\/) { if($string =~ m/-1\/-1\/-1\/-1\/[0-9]{1,20} (400|0) 0/) { #This one seems like someone is doing something bad. Return code 400/0