From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Newsgroups: gmane.lisp.guile.devel Subject: Re: Better HTTPS support in (web client) Date: Mon, 13 Jan 2020 11:05:17 +0100 Message-ID: <878smbr7s2.fsf@gnu.org> References: <87lfqfxt6a.fsf@gnu.org> <20200110155554.72cb1ebf4b0d5a60f4bd7858@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="131827"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: Andy Wingo , Guile Devel To: Chris Vine Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Mon Jan 13 11:06:11 2020 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iqwbG-000MDe-8f for guile-devel@m.gmane-mx.org; Mon, 13 Jan 2020 11:05:34 +0100 Original-Received: from localhost ([::1]:48092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqwbE-0003Jl-SS for guile-devel@m.gmane-mx.org; Mon, 13 Jan 2020 05:05:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44290) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqwb3-0003JS-OW for guile-devel@gnu.org; Mon, 13 Jan 2020 05:05:22 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iqwb2-0004qT-A8; Mon, 13 Jan 2020 05:05:20 -0500 Original-Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=38478 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iqwb0-0004Mg-FK; Mon, 13 Jan 2020 05:05:19 -0500 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 24 =?utf-8?Q?Niv=C3=B4se?= an 228 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu In-Reply-To: <20200110155554.72cb1ebf4b0d5a60f4bd7858@gmail.com> (Chris Vine's message of "Fri, 10 Jan 2020 15:55:54 +0000") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:20253 Archived-At: Hello! Chris Vine skribis: > Is the new implementation usable with suspendable ports? When I last > looked the read-response-body procedure was not, which meant that > http-get and http-put were not, which meant that you could not really > use them with fibers. It=E2=80=99s not a =E2=80=9Cnew implementation=E2=80=9D, rather additional = (and IMO important) features that are added. So it works as before, meaning that data is passed through a GnuTLS =E2=80=9Csession record port=E2=80=9D. And that, in turn, that means this = is not suspendable, unfortunately. To address that, it should be possible to avoid the session record port and instead use the lower-level GnuTLS =E2=80=98record-receive!=E2=80=99 and =E2=80=98record-send=E2=80=99 procedures. This is left as an excercise to = the reader. :-) Thanks, Ludo=E2=80=99.