Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Removed unnecessary shutdown() #26

Open
wants to merge 1 commit into from

1 participant

@und3f

This shutdown is followed by close function. I need to delete it for Twiggy::TLS, shutdown prevent correct SSL session closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 28, 2012
  1. @und3f

    removed unnecessary shutdown()

    und3f authored
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 1 deletion.
  1. +0 −1  lib/Twiggy/Server.pm
View
1  lib/Twiggy/Server.pm
@@ -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 $@;
Something went wrong with that request. Please try again.