# HG changeset patch # User Andrey Zelenkov # Date 1461060412 -10800 # Node ID 3b90649691cc86d4005d2c7e837618bd5b1c2d98 # Parent 25bf03642a457c4c91ac11887998443f8dd8e391 Tests: removed unused subroutine in h2_headers. diff --git a/h2_headers.t b/h2_headers.t --- a/h2_headers.t +++ b/h2_headers.t @@ -1009,17 +1009,6 @@ is($frame->{code}, 1, 'invalid path'); ############################################################################### -sub read_body_file { - my ($path) = @_; - open FILE, $path or return "$!"; - local $/; - my $content = ; - close FILE; - return $content; -} - -############################################################################### - sub http_daemon { my $server = IO::Socket::INET->new( Proto => 'tcp',