No timeout on sockets makes SMTP connections freeze
Bug #1116072 reported by
Holger Brunn (Therp)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP's Framework R&D |
Bug Description
If you misconfigured your SMTP server (like STARTTLS in place of SSL on port 465 as in my case) or your SMTP server is temporarily unavailable, you'll never reach a timeout. This leads to all kind of weird freezes (every action that triggers a ir_mail_
Consider passing timeout=[something] to smtplib.SMTP{,_SSL} or call socket.
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Low |
status: | New → Confirmed |
To post a comment you must log in.