about summary refs log tree commit homepage
path: root/t/httpd.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-05-14 03:32:00 +0000
committerEric Wong <e@80x24.org>2019-05-14 03:43:21 +0000
commit46835d34029c92a2da886e5d0c17ec83cf86a209 (patch)
tree273aa752115d28b6464044432d55efd13b4ea8c2 /t/httpd.t
parentd883d4a93b23be134038e28f421eafca70c3d838 (diff)
downloadpublic-inbox-46835d34029c92a2da886e5d0c17ec83cf86a209.tar.gz
PublicInbox::DS works for every platform we we care about,
nowadays; so checking for it is a waste of time.  Cleanup a
few POSIX and Socket imports while we're in the area.
Diffstat (limited to 't/httpd.t')
-rw-r--r--t/httpd.t6
1 files changed, 2 insertions, 4 deletions
diff --git a/t/httpd.t b/t/httpd.t
index 45cbcbfd..d55495ff 100644
--- a/t/httpd.t
+++ b/t/httpd.t
@@ -4,15 +4,13 @@ use strict;
 use warnings;
 use Test::More;
 
-foreach my $mod (qw(Plack::Util Plack::Builder PublicInbox::DS
-                        HTTP::Date HTTP::Status)) {
+foreach my $mod (qw(Plack::Util Plack::Builder HTTP::Date HTTP::Status)) {
         eval "require $mod";
         plan skip_all => "$mod missing for httpd.t" if $@;
 }
 use File::Temp qw/tempdir/;
 use Cwd qw/getcwd/;
-use IO::Socket;
-use Socket qw(SO_KEEPALIVE IPPROTO_TCP TCP_NODELAY);
+use IO::Socket::INET;
 require './t/common.perl';
 
 # FIXME: too much setup