From: Lars Ingebrigtsen <larsi@gnus.org>
To: Tassilo Horn <tsdh@gnu.org>
Cc: 40775@debbugs.gnu.org
Subject: bug#40775: 28.0.50; dns-query sometimes infloops
Date: Thu, 28 Jan 2021 07:55:57 +0100 [thread overview]
Message-ID: <87sg6l1req.fsf@gnus.org> (raw)
In-Reply-To: <87zhb2ywld.fsf@gnu.org> (Tassilo Horn's message of "Thu, 23 Apr 2020 18:51:10 +0200")
Tassilo Horn <tsdh@gnu.org> writes:
>> Since the recent changes to gravatar.el, the standard gravatar service
>> is libravatar now.
(This bit was changed because of privacy concerns.)
> Ok, I think I have it. It doesn't infloop, it just takes a lot of time
> for DNS queries on some domains, and if the From, To and Cc of a message
> contain many mail addresses, and for each one there are two dns-queries,
> then it may add up to long delays (of several minutes).
>
> For example, for me with emacs -Q
>
> (benchmark-run 1
> (dns-query "_avatars-sec._tcp.zjp.codes" 'SRV)
> (dns-query "_avatars._tcp.zjp.codes" 'SRV))
>
> consistently takes 20 seconds, 10 seconds for each (unsuccessful) query.
> Those queries will be performed for every foo@zjp.codes mail address in
> a message.
These lookups should now be cached, so the delay should only happen the
first time, which should help some. And all the lookups should be
asynchronous, I think, so there should be no hangs. (If I remember
correctly.)
So I think everything in this bug report should work better now? Are
you still seeing problems in this area (if you're still using
libravatar)?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-01-28 6:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-22 17:20 bug#40775: 28.0.50; dns-query sometimes infloops Tassilo Horn
2020-04-23 16:51 ` Tassilo Horn
2021-01-28 6:55 ` Lars Ingebrigtsen [this message]
2021-01-28 11:19 ` Tassilo Horn
2021-01-28 12:11 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sg6l1req.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=40775@debbugs.gnu.org \
--cc=tsdh@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).