bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26835: 26.0.50; url-retrieve no longer raises certificate errors


From: Eli Zaretskii
Subject: bug#26835: 26.0.50; url-retrieve no longer raises certificate errors
Date: Sat, 02 Sep 2017 16:42:44 +0300

> Date: Wed, 10 May 2017 19:48:32 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden
> 
> > From: Lars Ingebrigtsen <address@hidden>
> > Cc: Aaron Jensen <address@hidden>,  address@hidden
> > Date: Wed, 10 May 2017 16:24:13 +0200
> > 
> > >> (setq gnutls-verify-error t)
> > >> (url-retrieve-synchronously "https://wrong.host.badssl.com/";)
> > >> 
> > >> In Emacs 25.2, this causes an error to be thrown when you use
> > >> url-retrieve, in 26, it silently proceeds.
> > >
> > > That's because we now perform GnuTLS negotiation asynchronously,
> > > without blocking.
> > 
> > (As an aside, perhaps url-retrieve-synchronously should be opening the
> > socket with :nowait nil?)
> 
> Yes, I had a similar thought while I was reading the code.
> 
> > Good analysis.  I'll try to have a look at this soonish (and make it
> > report the error properly) unless somebody else beats me to it.
> 
> Thanks.

Ping!  Lars, any news on this issue?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]