nuke the unused and incorrect add_header_line method
clarify when notes gets reset git-svn-id: https://svn.perl.org/qpsmtpd/trunk@152 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
1eafaba4e9
commit
8c52b83ab2
@ -59,10 +59,6 @@ sub notes {
|
|||||||
$self->{_notes}->{$key};
|
$self->{_notes}->{$key};
|
||||||
}
|
}
|
||||||
|
|
||||||
sub add_header_line {
|
|
||||||
my $self = shift;
|
|
||||||
$self->{_header} .= shift;
|
|
||||||
}
|
|
||||||
|
|
||||||
sub body_write {
|
sub body_write {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
@ -190,12 +186,9 @@ Get or set a note on the transaction. This is a piece of data that you wish
|
|||||||
to attach to the transaction and read somewhere else. For example you can
|
to attach to the transaction and read somewhere else. For example you can
|
||||||
use this to pass data between plugins.
|
use this to pass data between plugins.
|
||||||
|
|
||||||
Note though that these notes will be lost on a C<RSET>, so you probably
|
Note though that these notes will be lost when a transaction ends, for
|
||||||
want to use the notes field in the C<Qpsmtpd::Connection> object instead.
|
example on a C<RSET> or after C<DATA> completes, so you might want to
|
||||||
|
use the notes field in the C<Qpsmtpd::Connection> object instead.
|
||||||
=head2 add_header_line( $data )
|
|
||||||
|
|
||||||
This function appears to be unused. See C<header()> instead.
|
|
||||||
|
|
||||||
=head2 body_write( $data )
|
=head2 body_write( $data )
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user