mail opens new smtp connection for each item sent. Should reuse server connection, especially for slow or overloaded network.
Categories
(MailNews Core :: Networking: SMTP, defect)
Tracking
(thunderbird_esr102 wontfix)
| Tracking | Status | |
|---|---|---|
| thunderbird_esr102 | --- | wontfix |
People
(Reporter: david.hagood, Assigned: rnons)
References
Details
(Keywords: perf)
Attachments
(3 files)
Comment 1•22 years ago
|
||
Comment 2•22 years ago
|
||
Comment 4•22 years ago
|
||
Comment 5•22 years ago
|
||
Comment 7•22 years ago
|
||
Comment 8•22 years ago
|
||
Comment 9•22 years ago
|
||
Comment 10•22 years ago
|
||
Comment 11•22 years ago
|
||
Comment 12•22 years ago
|
||
Comment 13•22 years ago
|
||
Comment 14•22 years ago
|
||
Comment 16•21 years ago
|
||
Comment 17•21 years ago
|
||
Comment 18•21 years ago
|
||
Comment 19•21 years ago
|
||
Comment 20•21 years ago
|
||
Comment 21•21 years ago
|
||
Updated•21 years ago
|
Comment 22•21 years ago
|
||
Updated•20 years ago
|
Comment 23•17 years ago
|
||
Comment 24•17 years ago
|
||
Comment 25•17 years ago
|
||
Comment 26•17 years ago
|
||
Updated•17 years ago
|
Updated•17 years ago
|
Updated•16 years ago
|
Updated•15 years ago
|
Comment 28•14 years ago
|
||
Comment 29•14 years ago
|
||
Comment 30•14 years ago
|
||
Comment 31•13 years ago
|
||
Comment 33•9 years ago
|
||
Comment 34•9 years ago
|
||
Updated•9 years ago
|
Comment 35•6 years ago
|
||
I have the same problem as comment 33. More and more I'm seeing SMTP servers that have limits on the number of concurrent connections.
The solution proposed in this bug, one connection per server, solves the problem, but at the cost of being slower. Do you think it's worth considering having more than one connection per server, but a settable limited number?
Comment 36•6 years ago
|
||
Making it settable may be a good idea. Fwiw, on a slow connection (e.g. 2G modem, 3G modem) opening multiple connections in parallel will only slow things down further.
Comment 37•5 years ago
|
||
Opening multiple connections also has privacy implications for Onion hosts on the Tor network in addition to the 3+ second latency per message to connect.
Updated•5 years ago
|
Comment 38•4 years ago
|
||
rnons, do you know if this would still be an issue with smtp-js? Perhaps this should be changed to ENH?
| Assignee | ||
Comment 39•4 years ago
|
||
It's still an issue, we always create a new connection. I guess it's a bit easier to support this now, but still not that easy.
Comment 40•3 years ago
|
||
Apart from being slower, an MSA with rate limits might block a sender for some time when opening many short-lived SMTP connections in a short period - I hit this case after creating many unsent outgoing messages with a mail merge plugin, while being on a fast network. The mail server stops accepting connections after 20 messages or so, and I have to wait for a short while. Also, this causes a new error modal to appear for each message that couldn't be sent, which must be closed separately.
| Assignee | ||
Comment 41•3 years ago
|
||
OK, I will take this next month.
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 42•3 years ago
|
||
| Assignee | ||
Comment 43•3 years ago
|
||
| Assignee | ||
Updated•3 years ago
|
Comment 44•3 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/b68d61082ca1
Use class syntax in SmtpService.jsm and SmtpServer.jsm. r=mkmelin
https://hg.mozilla.org/comm-central/rev/880b61ab6557
Reuse SMTP connections when sending mails. r=mkmelin
Description
•