Support original_string in Apache
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@895 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
b5d9135fb0
commit
cbf652d96b
@ -119,6 +119,7 @@ sub read_input {
|
|||||||
|
|
||||||
while (defined(my $data = $self->getline)) {
|
while (defined(my $data = $self->getline)) {
|
||||||
$data =~ s/\r?\n$//s; # advanced chomp
|
$data =~ s/\r?\n$//s; # advanced chomp
|
||||||
|
$self->connection->notes('original_string', $data);
|
||||||
$self->log(LOGDEBUG, "dispatching $data");
|
$self->log(LOGDEBUG, "dispatching $data");
|
||||||
defined $self->dispatch(split / +/, $data, 2)
|
defined $self->dispatch(split / +/, $data, 2)
|
||||||
or $self->respond(502, "command unrecognized: '$data'");
|
or $self->respond(502, "command unrecognized: '$data'");
|
||||||
|
Loading…
Reference in New Issue
Block a user