Attached is a patch for high_perf branch:

Remote_info can be used (in greeting, after check_earlytalker) before the
callback gets around to setting it.

Brian
Remote_info can be used (in greeting, after check_earlytalker) before the
callback gets around to setting it.


--- old/lib/Qpsmtpd/PollServer.pm       2005-05-05 03:32:07.000000000 -0600
+++ new/lib/Qpsmtpd/PollServer.pm       2005-05-07 03:47:14.000000000 -0600
@@ -169,6 +169,7 @@
     my ($ip, $port) = split(':', $self->peer_addr_string);
     $conn->remote_ip($ip);
     $conn->remote_port($port);
+    $conn->remote_info("[$ip]");
     Danga::DNS->new(
         client     => $self,
         # NB: Setting remote_info to the same as remote_host

Reply via email to