Permalink
Browse files

removed unnecessary shutdown()

  • Loading branch information...
1 parent 4ffefab commit a2f6ae5ec02915ffcaf552dfae5026d53b3c5eef @und3f committed Feb 28, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/Twiggy/Server.pm
View
@@ -363,7 +363,6 @@ sub _write_psgi_response {
local $@;
if ( eval { $_[0]->recv; 1 } ) {
$self->_write_body($sock, $body)->cb(sub {
- shutdown $sock, 1;
close $sock;
$self->{exit_guard}->end;
local $@;

0 comments on commit a2f6ae5

Please sign in to comment.