about summary refs log tree commit homepage
path: root/t/httpd-corner.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-03-12 03:55:20 +0000
committerEric Wong <e@80x24.org>2016-03-12 03:55:20 +0000
commit7dd78012da81d48e5e73e56c3255895dfa9de1f5 (patch)
tree1a166dbbc624f14c946237c66ceb861424ed7b29 /t/httpd-corner.t
parentdca2724e0aebc5832a0c88ec944a925daf21b9be (diff)
downloadpublic-inbox-7dd78012da81d48e5e73e56c3255895dfa9de1f5.tar.gz
This allows us to reduce installation dependencies while
retaining performance as it favors HTTP::Parser::XS when
it is installed and available.

PLACK_HTTP_PARSER_PP may be set to 1 to force a pure Perl
parser for testing.
Diffstat (limited to 't/httpd-corner.t')
-rw-r--r--t/httpd-corner.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/httpd-corner.t b/t/httpd-corner.t
index 59f37aa9..b64f334a 100644
--- a/t/httpd-corner.t
+++ b/t/httpd-corner.t
@@ -7,7 +7,7 @@ use warnings;
 use Test::More;
 
 foreach my $mod (qw(Plack::Util Plack::Request Plack::Builder Danga::Socket
-                        HTTP::Parser::XS HTTP::Date HTTP::Status)) {
+                        HTTP::Date HTTP::Status)) {
         eval "require $mod";
         plan skip_all => "$mod missing for httpd-corner.t" if $@;
 }