[svn:qpsmtpd] rev 392 - branches/high_perf/plugins

[email protected] 9 Mar 2005 00:20:32 -0000
Newsgroups perl.cvs.qpsmtpd
Message-ID <[email protected]>
Author: ask
Date: Tue Mar  8 16:20:32 2005
New Revision: 392

Modified:
   branches/high_perf/plugins/check_earlytalker
Log:
use $self->can_read rather than $self->qp->can_read with high perf patch


Modified: branches/high_perf/plugins/check_earlytalker
==============================================================================
--- branches/high_perf/plugins/check_earlytalker	(original)
+++ branches/high_perf/plugins/check_earlytalker	Tue Mar  8 16:20:32 2005
@@ -70,8 +70,8 @@
 
 sub connect_handler {
   my ($self, $transaction) = @_;
-  
-  if ($self->qp->can_read($self->{_args}->{'wait'})) {
+
+  if ($self->can_read($self->{_args}->{'wait'})) {
     $self->log(LOGNOTICE, 'remote host started talking before we said hello');
     if ($self->{_args}->{'defer-reject'}) {
 	$self->connection->notes('earlytalker', 1);