Opened 15 years ago

Last modified 11 years ago

#1955 defect new

— at a forgotten resetTimeout in twisted.protocols.postfixInitial Version

Reported by: quakelee Owned by: Glyph
Priority: low Milestone:
Component: core Keywords:
Cc: jesstess, Thijs Triemstra Branch:


I think after sent code to client, daemon should reset timeout. If data source is a big and slow object, getting and sending result to client may consume a lot of time, if you didn't reset the timer, the connection maybe lost before client reply to daemon.

--- Tue Jul 25 00:57:49 2006 +++ Tue Jul 25 01:08:13 2006 @@ -48,6 +48,7 @@

def sendCode(self, code, message=):

"Send an SMTP-like code with a message." self.sendLine('%3.3d %s' % (code, message or ))

+ self.resetTimeout()

def lineReceived(self, line):


Change History (0)

Note: See TracTickets for help on using tickets.