Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

forkserver: fix wrong detection of closed connection

git-svn-id: http://svn.perl.org/qpsmtpd/trunk@954 958fd67b-6ff1-0310-b445-bb7760255be9
  • Loading branch information...
commit bd7609804f424d8020f6dc0bce2789fe227bb324 1 parent fd57e6b
vetinari authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  qpsmtpd-forkserver
2  qpsmtpd-forkserver
View
@@ -307,7 +307,6 @@ while (1) {
# dup to STDIN/STDOUT
POSIX::dup2(fileno($client), 0);
POSIX::dup2(fileno($client), 1);
- close $client;
$qpsmtpd->start_connection
(
@@ -320,6 +319,7 @@ while (1) {
$qpsmtpd->run_hooks("post-connection");
$qpsmtpd->connection->reset;
+ close $client;
exit; # child leaves
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.