From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uLCfFeDx62KBawAAbAwnHQ (envelope-from ) for ; Thu, 04 Aug 2022 18:20:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cA+tFODx62IGaAEAG6o9tA (envelope-from ) for ; Thu, 04 Aug 2022 18:20:48 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 027DFE782 for ; Thu, 4 Aug 2022 18:20:48 +0200 (CEST) Received: from localhost ([::1]:43138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJdaZ-0005Be-4Z for larch@yhetil.org; Thu, 04 Aug 2022 12:20:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJdZr-00058Y-39 for guix-patches@gnu.org; Thu, 04 Aug 2022 12:20:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36502) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJdZq-0007Nv-Q5 for guix-patches@gnu.org; Thu, 04 Aug 2022 12:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJdZq-0000au-Ml for guix-patches@gnu.org; Thu, 04 Aug 2022 12:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56867] [PATCH] download: Do not wrap TLS port on GnuTLS >= 3.7.7. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 04 Aug 2022 16:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56867 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Thiago Jung Bauermann Cc: 56005@debbugs.gnu.org, 56867@debbugs.gnu.org, guile-devel@gnu.org Received: via spool by 56867-submit@debbugs.gnu.org id=B56867.16596299902250 (code B ref 56867); Thu, 04 Aug 2022 16:20:02 +0000 Received: (at 56867) by debbugs.gnu.org; 4 Aug 2022 16:19:50 +0000 Received: from localhost ([127.0.0.1]:54483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJdZd-0000a8-Dl for submit@debbugs.gnu.org; Thu, 04 Aug 2022 12:19:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJdZa-0000Zk-5h; Thu, 04 Aug 2022 12:19:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJdZU-0007Kt-6L; Thu, 04 Aug 2022 12:19:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=DasnAarmzFpQUQWOaEtyrNbh3jpTTVyEnzKQXoS8DB0=; b=dHY2pLK/8ckd8h6bMSBT s0vNvxKfDmDX7H/VeZuKdwNuZjpdxvYnXxTqmAogrVpznTnWH7H47dwtsZKX1BCE0o6BtxsBqOC6e H9/2pf7Kdg8xQt6GOHtQXGqJDhTpzzWc5L91nVgGvfSRrnDoI5gogMaGsx+9W7srlqaHJ6yh3XSZ2 T6GREbcVH+Ds2mQQMcQs8cQDe85QTTyThcxXpJFXuZNQ7YGdO15IyyBJII8vvU7VZXK4hHr0xmIts AwOvi1LbInZEaz0g/luRUOR+zRbhQQ1j17G/jdoIzEZ/M9ukxjuChznRw4gwvbdYeNBOvN6QXAzsm 3NGt0uJJIcXtdg==; Received: from [193.50.111.124] (port=37600 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJdZT-0006rR-AG; Thu, 04 Aug 2022 12:19:39 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20220801090749.11655-1-ludo@gnu.org> <87pmhgks4j.fsf@gnu.org> <87v8r86p7s.fsf@kolabnow.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Septidi 17 Thermidor an 230 de la =?UTF-8?Q?R=C3=A9volution, ?= jour du Lin 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 Date: Thu, 04 Aug 2022 18:19:37 +0200 In-Reply-To: <87v8r86p7s.fsf@kolabnow.com> (Thiago Jung Bauermann's message of "Thu, 04 Aug 2022 11:46:47 -0300") Message-ID: <87iln8kmli.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659630048; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DasnAarmzFpQUQWOaEtyrNbh3jpTTVyEnzKQXoS8DB0=; b=rv7ZW+qq4IOD0NcO/NVsd64Iqz3Qa+Lsj9x1KwynGxV8GhkL6QVuFPOY0MFRs+gkbay1jQ 33g4z18BqOW9qpTb2wCJF2vzy5ek1ela7Lv8GTxdLaad0mu7qpPRVyjPRdMS3N+3IT0o+D DgepVnA6rEi7gBK7hvdB0N8Nxo/31q1J1KYMWJVCi6A6MP2mvceBF6Sk+fW49SqMK1xHvD +aZEAUKlaxmEdCVY//n1EkkKuB46cn27yYuZl/5o7fR7QH0HwUqjkAWlP2HYcrJWN7vwzc +PRzBz+m4O/YxOtw3H53xHKKP7DTpbuGH7XdzmhNT3oU0kxP7yWpXkYqc0JdyQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659630048; a=rsa-sha256; cv=none; b=ZInbly8Xt1VPxuLnyEjcJtll29gwYcStSMG+lkHqck97+2YN2jgRgO766YLkXVIN0WuRB9 0o1U5J6KT0I62zKnS79fx20PrHRfIWZzgb8UozUUXiroDLab0EoN7TBlHAkDcN4TkxR8YE pc7/AlrXjhX0U0/aU4b4G7hU7i+Z+K3GFIcO+G6tnXLVCEXfhrv23BA8bPzg0Z99hs7XCq paXhnI4qrLN9t3Ct7FfHbLPRWN8MPQSHWnnozGUVR1lJOnoB/sa1hWsg9aNUjd75lTEh3Q GfNGEuzx7qNysvtzKizwL5H1Y+nuNZrF+Ois7I+P+mXPm9sDq0v6tRq8KqjQMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="dHY2pLK/"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.81 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="dHY2pLK/"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 027DFE782 X-Spam-Score: -3.81 X-Migadu-Scanner: scn1.migadu.com X-TUID: wdLCyDPBFmBr Hi, Thiago Jung Bauermann skribis: > Ludovic Court=C3=A8s writes: > >> First, I noticed that GnuTLS doesn=E2=80=99t implement =E2=80=98write_wa= it_fd=E2=80=99, only >> =E2=80=98read_wait_fd=E2=80=99 (not sure how problematic that is): >> >> scheme@(guile-user)> ,use(web client) >> scheme@(guile-user)> (define p (open-socket-for-uri "https://guix.gnu.or= g")) >> scheme@(guile-user)> ((@@ (ice-9 suspendable-ports) wait-for-writable) p) >> ice-9/boot-9.scm:1685:16: In procedure raise-exception: >> In procedure write_wait_fd: unimplemented >> >> Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. >> scheme@(guile-user) [1]> ,q >> scheme@(guile-user)> ,use(gnutls) >> scheme@(guile-user)> (gnutls-version) >> $1 =3D "3.7.7" >> scheme@(guile-user)> ((@@ (ice-9 suspendable-ports) wait-for-readable) p) >> $2 =3D 1 > > This occasionally causes problems when fetching substitutes, as can be > seen in bug #56005 (during substitution: write_wait_fd: unimplemented). Oh, I have not seen it but it=E2=80=99s weird: (guix scripts substitute) do= esn=E2=80=99t use O_NONBLOCK sockets, so I don=E2=80=99t get how it can hit that. Needs investigation=E2=80=A6 Thanks, Ludo=E2=80=99.