Preserve connection notes as part of cloning the object (e.g. after STARTTLS). Typo noticed in plugins/tls.

git-svn-id: https://svn.perl.org/qpsmtpd/trunk@917 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
John Peacock 2008-05-26 21:25:44 +00:00 committed by Ask Bjørn Hansen
parent 356ec2f08d
commit 14a77718f8
2 changed files with 2 additions and 1 deletions

View File

@ -43,6 +43,7 @@ sub clone {
foreach my $f ( @parameters ) {
$new->$f($self->$f()) if $self->$f();
}
$new->{_notes} = $self->{_notes} if defined $self->{_notes};
# reset the old connection object like it's done at the end of a connection
# to prevent leaks (like prefork/tls problem with the old SSL file handle
# still around)

View File

@ -22,7 +22,7 @@ Path to the private key file. Default: I<ssl/qpsmtpd-server.key>
=item B<ca_path>
Path to the certificate autority file. Default: I<ssl/qpsmtpd-ca.crt>
Path to the certificate authority file. Default: I<ssl/qpsmtpd-ca.crt>
=back