Opened 11 years ago

Last modified 4 years ago

#3746 defect new

— at twisted.web timeout of 12 hours is too longInitial Version

Reported by: ivank Owned by: jknight
Priority: high Milestone:
Component: web Keywords:
Cc: Thijs Triemstra, Jean-Paul Calderone Branch:


Firefox tries to keep the connection open for 5 minutes; IE 1 or 2 minutes. Right now, Twisted keeps connections open for 12 hours if the browser does not close them. Apache's default timeout is 15 seconds, and nginx's is 65 seconds. A short timeout would not disrupt responses that are just taking a while to generate.

The timeout is in three places: twisted/web/ timeOut = 60 * 60 * 12 twisted/web/ def init(self, logPath=None, timeout=60*60*12): twisted/web/ def init(self, resource, logPath=None, timeout=60*60*12):

Change History (0)

Note: See TracTickets for help on using tickets.