Skip to content

Commit

Permalink
added PLACK_NO_SENDFILE support to Danga::Socket and Coro
Browse files Browse the repository at this point in the history
  • Loading branch information
miyagawa committed Oct 13, 2009
1 parent 8d0800c commit 64d2318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Plack/Server/Danga/Socket.pm
Expand Up @@ -12,7 +12,7 @@ use IO::Socket::INET;
use HTTP::Status;
use Socket qw/IPPROTO_TCP TCP_NODELAY/;

our $HasAIO = eval {
our $HasAIO = !$ENV{PLACK_NO_SENDFILE} && eval {
require IO::AIO; 1;
};

Expand Down

0 comments on commit 64d2318

Please sign in to comment.