X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;ds=sidebyside;f=t%2Fhttpd-corner.t;h=681486550688222d82fa0e8adbcd61256fb72527;hb=85431deb9a346bc83a7f5e8e0f102e19dfa603a9;hp=7a6bcc6696116c0f352fe89794cb63ac7e1b69ce;hpb=2f4ff3b0e7e63dde0c164dfb9875b9af75c609ff;p=public-inbox.git diff --git a/t/httpd-corner.t b/t/httpd-corner.t index 7a6bcc66..68148655 100644 --- a/t/httpd-corner.t +++ b/t/httpd-corner.t @@ -296,7 +296,7 @@ my $len = length $str; is($len, 26, 'got the alphabet'); my $check_self = sub { my ($conn) = @_; - vec(my $rbits, fileno($conn), 1) = 1; + vec(my $rbits = '', fileno($conn), 1) = 1; select($rbits, undef, undef, 30) or Carp::confess('timed out'); $conn->read(my $buf, 4096); my ($head, $body) = split(/\r\n\r\n/, $buf, 2);