Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rzcBj-005KX2-Br for pgsql-committers@arkaria.postgresql.org; Wed, 24 Apr 2024 12:57:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rzcBi-00F5gS-08 for pgsql-committers@arkaria.postgresql.org; Wed, 24 Apr 2024 12:57:26 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rzcBg-00F5g5-8d for pgsql-committers@lists.postgresql.org; Wed, 24 Apr 2024 12:57:25 +0000 Received: from wfhigh3-smtp.messagingengine.com ([64.147.123.154]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rzcBd-004Pr9-8a for pgsql-committers@lists.postgresql.org; Wed, 24 Apr 2024 12:57:23 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfhigh.west.internal (Postfix) with ESMTP id E73B8180016A; Wed, 24 Apr 2024 08:57:18 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 24 Apr 2024 08:57:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1713963438; x=1714049838; bh=3QE/DJBTL/Xw+NW3E8wp9E7/LVVPC6Ltg2N5SfQiVb8=; b= OgSVmGKXtQWSLHkvGdPN2AZby4mQYVZ/5h4eF9MR426X+LZfQUzmZdMCCitMRb7l OA9inbwa+WEp4RoqCF7hdB59Ala5+CFJuo3RqLL9i1/YFE9p03viUBbpS7nLcyhz khAm3t5gYtXXZpJu+Ub2RVxS15Aw7NfWnBNhy8DrwSOkgHacJglCA2g1OMXsMz4F ZqYz4gtcae1eOP8tMOcSdQDjb3x8gXZA8WtHye7ZvQiY6tUmXZiIp9f3I5XzbuAd ya8gN9gQET7vgo07rn3z9Y7EO8gNC3+3NTrJa4weKb4Va2Ejjdx1z8gi8WtU8rXq DnpLeRNx0xuq6PBF2YDgDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1713963438; x= 1714049838; bh=3QE/DJBTL/Xw+NW3E8wp9E7/LVVPC6Ltg2N5SfQiVb8=; b=Y XvFueLohqMI0ITCSyl9X1hayrSLAit7oIQKJGkNZgZtEZ4fS/RJY2eeLLugs+ZiL ucS4Kh//l6Lb06fwL4A1JxhjM5THarEGR8Hh5rz3qUS/AkZ0zq7ZBYFODekqy30h GfbtfE/dR2H+n3mVoveppr3paYtWH45UmUoM1ZC13kC6XOdKqt5RHQz7WkclVS2u OY5QtAAQ5PdP0L2233fBy1IJJ86vGtlM2OPE3ugVz7a7x0k3kE9QZ0CdKMfgW0TY mg88mcuFg1C1y1lzgOCwJXtQWSXgfBlj5uDWQXUROn3fwJiAPeHNRr9PMa3R+Lha s1uLRKr9AzHhzsh495+vw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudelgedgfeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthejredttddvjeenucfhrhhomheprfgvthgv rhcugfhishgvnhhtrhgruhhtuceophgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgqe enucggtffrrghtthgvrhhnpeehiedvhfeuhfeugefgfeehgeejtdevuefhtefhueefvddu gfdtueehgfefudfhffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 24 Apr 2024 08:57:17 -0400 (EDT) Message-ID: Date: Wed, 24 Apr 2024 14:57:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pgsql: Refactor libpq state machine for negotiating encryption To: Heikki Linnakangas , pgsql-committers@lists.postgresql.org References: Content-Language: en-US From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 08.04.24 03:25, Heikki Linnakangas wrote: > Refactor libpq state machine for negotiating encryption > > This fixes the few corner cases noted in commit 705843d294, as shown > by the changes in the test. Either this or something nearby appears to have broken the error reporting from psql or libpq when failing to get an SSL connection: PG16: psql 'sslmode=require host=localhost' psql: error: connection to server at "localhost" (::1), port 65432 failed: server does not support SSL, but SSL was required master: psql 'sslmode=require host=localhost' psql: error: connection to server at "localhost" (::1), port 65432 failed: (sic, the output ends after the colon). This commit removed that detail error message string from the code, but I don't see any similar message that would take its place.