]> Sergey Matveev's repositories - public-inbox.git/commitdiff
DS: remove IPPROTO_TCP import
authorEric Wong <e@80x24.org>
Wed, 22 May 2019 21:46:58 +0000 (21:46 +0000)
committerEric Wong <e@80x24.org>
Wed, 22 May 2019 21:53:31 +0000 (21:53 +0000)
Unlike Danga::Socket, we do not support TCP_CORK, either

lib/PublicInbox/DS.pm

index 68af4d65f2786e8e44cb99e0e318527174f0807a..d73c8d0108b7d9070b2a1371e58d768a836426e9 100644 (file)
@@ -31,7 +31,6 @@ use fields ('sock',              # underlying socket
 
 use Errno  qw(EINPROGRESS EWOULDBLOCK EISCONN ENOTSOCK
               EPIPE EAGAIN EBADF ECONNRESET ENOPROTOOPT);
-use Socket qw(IPPROTO_TCP);
 use Carp   qw(croak confess);
 
 use constant DebugLevel => 0;