cvs commit: qpsmtpd/lib/Qpsmtpd SMTP.pm

[email protected] (Ask Bjoern Hansen)
Newsgroups perl.cvs.qpsmtpd
Message-ID <[email protected]>
cvsuser     03/04/15 11:10:44

  Modified:    .        CREDITS Changes
               lib/Qpsmtpd SMTP.pm
  Log:
  Fixed timeout bug when the client sent DATA and then stopped before
  sending the next line. (Gergely Risko <[email protected]>)
  
  Revision  Changes    Path
  1.9       +2 -0      qpsmtpd/CREDITS
  
  Index: CREDITS
  ===================================================================
  RCS file: /cvs/public/qpsmtpd/CREDITS,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -w -r1.8 -r1.9
  --- CREDITS	15 Apr 2003 17:01:42 -0000	1.8
  +++ CREDITS	15 Apr 2003 18:10:44 -0000	1.9
  @@ -24,5 +24,7 @@
   Kee Hinckley <[email protected]>: Sent me the correct strftime
   format for the dates in the "Received" headers.
   
  +Gergely Risko <[email protected]>: Fixed timeout bug when the client sent
  +DATA and then stopped before sending the next line.
   
   ... and many others per the Change file!
  
  
  
  1.39      +3 -0      qpsmtpd/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /cvs/public/qpsmtpd/Changes,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -w -r1.38 -r1.39
  --- Changes	15 Apr 2003 17:38:45 -0000	1.38
  +++ Changes	15 Apr 2003 18:10:44 -0000	1.39
  @@ -1,5 +1,8 @@
   0.26-dev
   
  +  Fixed timeout bug when the client sent DATA and then stopped before
  +  sending the next line. (Gergely Risko <[email protected]>) 
  +
     unrecognized_command hook and a count_unrecognized_commands
     plugin. (Rasjid Wilcox)
   
  
  
  
  1.12      +2 -0      qpsmtpd/lib/Qpsmtpd/SMTP.pm
  
  Index: SMTP.pm
  ===================================================================
  RCS file: /cvs/public/qpsmtpd/lib/Qpsmtpd/SMTP.pm,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -w -r1.11 -r1.12
  --- SMTP.pm	15 Apr 2003 17:38:46 -0000	1.11
  +++ SMTP.pm	15 Apr 2003 18:10:44 -0000	1.12
  @@ -320,6 +320,8 @@
   
     my $timeout = $self->config('timeout');
   
  +  alarm $timeout;
  +
     while (<STDIN>) {
       $complete++, last if $_ eq ".\r\n";
       $i++;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.