From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#74193: 30.0.92; noquery argument ignored when creating a TLS connection Date: Mon, 04 Nov 2024 17:35:22 +0100 Message-ID: <87r07rneid.fsf@gmail.com> References: <87cyjcs2p7.fsf@ars3.mail-host-address-is-not-set> <87cyjc6v8n.fsf@ars3.mail-host-address-is-not-set> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15014"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74193@debbugs.gnu.org, Eli Zaretskii To: Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 04 17:37:22 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1t804w-0003ky-93 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Nov 2024 17:37:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t804j-0000Te-5o; Mon, 04 Nov 2024 11:37:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t804c-0000Ql-KI for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2024 11:37:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t804c-00037U-4E for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2024 11:37:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=ZaN4vqsVFJ80OAeJDiaBsPT0a+KOVF6x0BswlWDUMaQ=; b=M0vpDkPrxscwYSAhAX5bs62wzUfX7s/jcc5KZ7VXWNQn3pC1DfDS/ScuH0dh84Ogsr91KTWXjev+bxxWt4Ay/neQM7TYl3aOb10SHm6MOPWg8UkG8f0KM/3HczZU9rADNmz+r/kBOc+HGIzj9NrpKUP44ruWmPA4crJArMjT97xi4ZVjyueWpjQAvHESNjH7XsnOdPP2AXAOsAR59IeeQ+lGCqOqkUnEQaZopHqlMNhi0kmakaWEziu9fueCqsIYj08Pede4+FDiFBYkpGl6wXKLOY//PPDj7nWeZnVzK8BtV3ViVCnmym0ucBmWG+g7DIYHba1c7XqQyycFaTdiAw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t804c-0000sH-01 for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2024 11:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Nov 2024 16:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74193 X-GNU-PR-Package: emacs Original-Received: via spool by 74193-submit@debbugs.gnu.org id=B74193.17307381923337 (code B ref 74193); Mon, 04 Nov 2024 16:37:01 +0000 Original-Received: (at 74193) by debbugs.gnu.org; 4 Nov 2024 16:36:32 +0000 Original-Received: from localhost ([127.0.0.1]:40977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8047-0000rl-U9 for submit@debbugs.gnu.org; Mon, 04 Nov 2024 11:36:32 -0500 Original-Received: from mail-lf1-f47.google.com ([209.85.167.47]:59651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8046-0000rd-AJ for 74193@debbugs.gnu.org; Mon, 04 Nov 2024 11:36:31 -0500 Original-Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-539e5c15fd3so4188001e87.3 for <74193@debbugs.gnu.org>; Mon, 04 Nov 2024 08:36:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730738124; x=1731342924; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ZaN4vqsVFJ80OAeJDiaBsPT0a+KOVF6x0BswlWDUMaQ=; b=ODWJzHpUBdi2/PmFaJ/IOwS/q4jAfEva8gZOAdTrehzVR3WuYx0QQxuyCyurCra4Ij CYAPtlwQzZuufnlTrgKikJThtS/2df/n9ehEVXak93V1db+n+N3uMEklzEhdKqqzqXfF tpAw33VWC4Jyyq9bD+ADBe+cr4rwoorNKbVoErAn0bbsVTA6i1GAttF3FfHn8OhOBszT OWnQ9p9GO4MS3ijUadHLdH2rIkaowqvh6cpWx6EQB0ogwgaDMKv4RA62u2cAkuV0BEg6 DFZwVBMqtV+xb5QiTkEs8fe8qToJ1ivS1Y72d7LjdvW1ZhZKTw4Mob8EpTT10s28z8zF lulQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730738124; x=1731342924; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZaN4vqsVFJ80OAeJDiaBsPT0a+KOVF6x0BswlWDUMaQ=; b=p1+HymixStZ55TKw3heq9fRayB7IFZH7P0dLSS4WRlE0mb/YOEo0DULZh+DrS+FaCK qjnAbWt/n+0JVT7Lzw/u6D/aeP1oWhGs3s8hd0gAm0aVeZV1zua6c18KR+hCFaB4pv0M A6DaILeKneR4f8iPpGO5F4FB/+DizDT6vLfrQOhiK9uZsq4mAag8UoAyX1amdnyb/lVo y/s+R8Pg47IKGCLyz/dL/QG0Tni1CQCjgOm9Qzhl9swcZeGngwDYaYxwgGD67VNui3p1 M5JQdVYCeQJqpXfgPyBzzuf1Ht5oSyo3sWSaoAk6Ku4U2nsjGoBEdbQtqsJaK8jf4jnL YCCw== X-Forwarded-Encrypted: i=1; AJvYcCXMVwwgbV0BBf2wJevrlCJTvkjpHdgEDa1xCMhyRbkS73saa5DG+izXkH68J1hpwHJT3RClxQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwwXPYIICZO2D02rC+39qPj1xZk9nzk7WDfcx2dkO89qHnDRIlW GYyRvSfcoudTmwDOdQR9jwnl9LaF1qWFP6ksIO8dRhpFhkvajSwz4nv4Iw== X-Google-Smtp-Source: AGHT+IFjrWc4/FLD365/i5uCo653wBGqGt4frf7WDFJ1BVN4L3cjtqKvzZtGIgZ3hHUD14N0I86Hag== X-Received: by 2002:a05:6512:3d06:b0:539:8df0:4d3f with SMTP id 2adb3069b0e04-53b34a18ff8mr18907500e87.40.1730738123605; Mon, 04 Nov 2024 08:35:23 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb51:e0ad:8e3b:a99f:8c4]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-431bd9aa83asm188769265e9.31.2024.11.04.08.35.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2024 08:35:23 -0800 (PST) In-Reply-To: <87cyjc6v8n.fsf@ars3.mail-host-address-is-not-set> (Augusto Stoffel's message of "Sun, 03 Nov 2024 19:13:44 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:294865 Archived-At: >>>>> On Sun, 03 Nov 2024 19:13:44 +0100, Augusto Stoffel said: Augusto> On Sun, 3 Nov 2024 at 19:44, Eli Zaretskii wrote: >>> From: Augusto Stoffel >>> Date: Sun, 03 Nov 2024 17:27:00 +0100 >>>=20 >>> If I evaluate the form below and then run C-x C-c, I get asked if I= want >>> to kill the network process. >>>=20 >>> (open-network-stream "test" nil "www.gnu.org" 443 :type 'tls :noque= ry t) >>>=20 >>> If I removed the `:type 'tls' option, then :noquery takes effect as >>> expected. >>=20 >> AFAICT, open-gnutls-stream doesn't support :noquery, so Emacs >> basically ignores :noquery in this case and starts a network process >> with query-on-exit flag set. Augusto> Indeed, the fix is trivial: If there are any other keywords supported by `open-network-stream' that `open-gnutls-stream' doesn=CA=BCt, and that make sense to support, now is a good time to ask for them, as I=CA=BCm working on some changes in there anyway. Robert --=20