From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: HTTP/2 Date: Sun, 04 Oct 2020 19:07:57 +0200 Message-ID: References: <87o8llwd35.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23318"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: emacs-devel@gnu.org Cancel-Lock: sha1:bRm9k9mLVzX0Q/FeUsC2OHpAaG4= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 04 19:09:00 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kP7VL-0005wQ-T6 for ged-emacs-devel@m.gmane-mx.org; Sun, 04 Oct 2020 19:08:59 +0200 Original-Received: from localhost ([::1]:57312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kP7VK-0005LE-UD for ged-emacs-devel@m.gmane-mx.org; Sun, 04 Oct 2020 13:08:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP7UV-0004ot-Gr for emacs-devel@gnu.org; Sun, 04 Oct 2020 13:08:07 -0400 Original-Received: from static.214.254.202.116.clients.your-server.de ([116.202.254.214]:39566 helo=ciao.gmane.io) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP7UU-00026L-6Y for emacs-devel@gnu.org; Sun, 04 Oct 2020 13:08:07 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kP7UQ-0004wD-OI for emacs-devel@gnu.org; Sun, 04 Oct 2020 19:08:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/04 13:08:03 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:257040 Archived-At: On Fri, Oct 02 2020, Robert Pluim wrote: >>>>>> On Fri, 02 Oct 2020 04:55:58 +0200, Lars Ingebrigtsen > said: > > Lars> Emacs will have to implement HTTP/2 one way or another. Few > Lars> 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 > Lars> interesting > Lars> project, but... it's probably too much fun? So using an existing > Lars> well-supported HTTP/2 library (preferably one that already > Lars> 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. I'd rather see bindings for libcurl directly. In particular something that integrates libcurl's "multi handles" with Emacs' event loop. Helmut