emacs-devel
[Top][All Lists]
Advanced

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

Re: HTTP/2


From: Robert Pluim
Subject: Re: HTTP/2
Date: Fri, 02 Oct 2020 15:08:23 +0200

>>>>> On Fri, 02 Oct 2020 04:55:58 +0200, Lars Ingebrigtsen <larsi@gnus.org> 
>>>>> said:

    Lars> Emacs will have to implement HTTP/2 one way or another.  Few people 
have
    Lars> disabled HTTP 1.x on their servers, but it's going to happen, so I'd
    Lars> rather see HTTP/2 (and HTTP/3?) support in Emacs sooner rather than
    Lars> later.

    Lars> Not, implementing HTTP/2 in Emacs Lisp sounds like a fun and 
interesting
    Lars> project, but...  it's probably too much fun?  So using an existing
    Lars> well-supported HTTP/2 library (preferably one that already uses 
GnuTLS,
    Lars> I guess?) is probably the way forward.

libcurl uses nghttp2 for its HTTP/2 support, and it can use GnuTLS, so
we can steal^winspire our implementation from that.

    Lars> Has anybody looked at this?  I have done absolutely no research here 
--
    Lars> are there a bunch of suitable HTTP/2 libraries we could consider?  Or
    Lars> even one?

Based on my whole 5 mins of research, thereʼs at least one, and if
itʼs good enough for curl I guess itʼs good enough for us.

BTW, nghttp2 is MIT-licensed, would that be an issue? wget2, which is
GLPv3-or-later can use nghttp2 as well.

Robert
-- 



reply via email to

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