GNU bug report logs - #40775
28.0.50; dns-query sometimes infloops

Previous Next

Package: emacs;

Reported by: Tassilo Horn <tsdh <at> gnu.org>

Date: Wed, 22 Apr 2020 17:21:02 UTC

Severity: normal

Tags: fixed, moreinfo

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 40775 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Tassilo Horn <tsdh <at> gnu.org>
Cc: 40775 <at> debbugs.gnu.org
Subject: Re: bug#40775: 28.0.50; dns-query sometimes infloops
Date: Thu, 28 Jan 2021 07:55:57 +0100
Tassilo Horn <tsdh <at> 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 <at> 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




This bug report was last modified 4 years and 174 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.