Permalink
Browse files

opps, missed two IO calls.

  • Loading branch information...
1 parent cafa5db commit 798f66f39b773b045484dcb8e8df14e870bf46b0 @chansen chansen committed Mar 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Plack/Handler/FCGI.pm
@@ -161,8 +161,8 @@ sub run {
sub _handle_response {
my ($self, $res) = @_;
- *STDOUT->autoflush(1);
- binmode STDOUT;
+ $self->{stdout}->autoflush(1);
+ binmode $self->{stdout};
my $hdrs;
my $message = status_message($res->[0]);

0 comments on commit 798f66f

Please sign in to comment.