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:
parent
356ec2f08d
commit
14a77718f8
@ -43,6 +43,7 @@ sub clone {
|
|||||||
foreach my $f ( @parameters ) {
|
foreach my $f ( @parameters ) {
|
||||||
$new->$f($self->$f()) if $self->$f();
|
$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
|
# 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
|
# to prevent leaks (like prefork/tls problem with the old SSL file handle
|
||||||
# still around)
|
# still around)
|
||||||
|
@ -22,7 +22,7 @@ Path to the private key file. Default: I<ssl/qpsmtpd-server.key>
|
|||||||
|
|
||||||
=item B<ca_path>
|
=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
|
=back
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user