Permalink
Browse files

revert HTTP::Parser::XS optional

  • Loading branch information...
miyagawa committed Feb 18, 2010
1 parent e976ca0 commit 470079d35a6000fd8088be8a434b9920af9d22a6
Showing with 4 additions and 3 deletions.
  1. +1 −1 Makefile.PL
  2. +1 −0 README
  3. +1 −1 lib/Twiggy.pm
  4. +1 −1 lib/Twiggy/Server.pm
View
@@ -6,7 +6,7 @@ requires 'Plack', 0.99;
requires 'AnyEvent';
requires 'HTTP::Status';
requires 'Try::Tiny';
-requires 'HTTP::Parser::XS';
+recommends 'HTTP::Parser::XS';
recommends 'EV';
install_script 'bin/twiggy';
test_requires 'Test::More';
View
1 README
@@ -35,6 +35,7 @@ DESCRIPTION
Fast header parser
Uses XS/C based HTTP header parser for the best performance.
+ (optional)
Lightweight and Fast
The memory required to run twiggy is 6MB and it can serve more than
View
@@ -51,7 +51,7 @@ renamed to Twiggy. See L</NAMING> for details.
=item Fast header parser
-Uses XS/C based HTTP header parser for the best performance.
+Uses XS/C based HTTP header parser for the best performance. (optional)
=item Lightweight and Fast
View
@@ -16,7 +16,7 @@ use AnyEvent::Socket;
use AnyEvent::Util qw(WSAEWOULDBLOCK);
use HTTP::Status;
-use HTTP::Parser::XS qw(parse_http_request);
+use Plack::HTTPParser qw(parse_http_request);
use Plack::Util;
use constant DEBUG => $ENV{TWIGGY_DEBUG};

0 comments on commit 470079d

Please sign in to comment.