------------------------------------------------------------
revno: 1351
committer: Mark Sapiro <msap...@value.net>
branch nick: 2.1
timestamp: Tue 2012-03-27 15:25:13 -0700
message:
  Fixed a possible CPU bound loop in OutgoingRunner if the attempt to
  Connect to the SMTP server throws a socket.error.  (LP: #966531)
modified:
  Mailman/Queue/OutgoingRunner.py
  NEWS


--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1

Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/Queue/OutgoingRunner.py'
--- Mailman/Queue/OutgoingRunner.py	2007-06-22 17:49:27 +0000
+++ Mailman/Queue/OutgoingRunner.py	2012-03-27 22:25:13 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 2000-2007 by the Free Software Foundation, Inc.
+# Copyright (C) 2000-2012 by the Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
@@ -89,6 +89,7 @@
                 syslog('error', 'Cannot connect to SMTP server %s on port %s',
                        mm_cfg.SMTPHOST, port)
                 self.__logged = True
+            self._snooze(0)
             return True
         except Errors.SomeRecipientsFailed, e:
             # Handle local rejects of probe messages differently.

=== modified file 'NEWS'
--- NEWS	2012-03-27 22:16:34 +0000
+++ NEWS	2012-03-27 22:25:13 +0000
@@ -98,6 +98,9 @@
 
   Bug Fixes and other patches
 
+    - Fixed a possible CPU bound loop in OutgoingRunner if the attempt to
+      Connect to the SMTP server throws a socket.error.  (LP: #966531)
+
     - Fixed a potential crash in the web UI if a language is removed from the
       LC_DESCRIPTIONS dictionary.  (LP: #966565)
 

_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to