Non-blocking connect for dirmngr

Filipp Gunbin fgunbin at fastmail.fm
Wed Jun 14 20:54:51 CEST 2017


On 13/06/2017 15:13 +0200, Werner Koch wrote:

> On Fri,  9 Jun 2017 21:02, fgunbin at fastmail.fm said:
>>   4 - 21:56:33 dirmngr[91489.6]: connection from process -1 (501:20)
>>   4 - 21:56:37 dirmngr[91489.6]: DBG: chan_6 <- WKD_GET --quick --submission-address -- foo at iki.fi
>
> I wonder why it takes 4 seconds that gpg sends the command after the
> connection has already been setup.

It's just me who sent the WKD_GET command 4 seconds after the
connection.

>>   4 - 21:56:37 dirmngr[91489.6]: DBG: dns: libdns initialized
>>   4 - 21:56:57 dirmngr[91489.6]: DBG: dns: getsrv(_openpgpkey._tcp.iki.fi): Server indicated a failure
>
> Here we have a 20 second delay but it comes from the resolver - there
> has been no connection attempt.  I noticed that Patrick has the same
> problem.  Is your connection toi the resolver IPv4 or IPv6?  (Justus
> fixed a v6 bug today).

I'm getting the same thing on the current master.

How can I check v4/v6 connection type?

Filipp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: </pipermail/attachments/20170614/db5ffb66/attachment.sig>


More information about the Gnupg-devel mailing list