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.96) (envelope-from ) id 1vJJaF-0016aJ-18 for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Nov 2025 22:44:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vJJaC-00F0Nm-2H for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Nov 2025 22:44:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vJJaC-00F0Ne-1F for pgsql-hackers@lists.postgresql.org; Wed, 12 Nov 2025 22:44:56 +0000 Received: from mail-qv1-xf33.google.com ([2607:f8b0:4864:20::f33]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vJJa9-007QIf-0K for pgsql-hackers@lists.postgresql.org; Wed, 12 Nov 2025 22:44:55 +0000 Received: by mail-qv1-xf33.google.com with SMTP id 6a1803df08f44-8823dfa84c5so1846936d6.3 for ; Wed, 12 Nov 2025 14:44:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1762987490; x=1763592290; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=qBhskq3BKhyvIwhsFA1qzDcFCXp8SEHQbH8DXmKcR9w=; b=ZaL7SN6ZvXtLvOr46Go2Z9tHCM7mO5o78qiR5Tg/c2W/kOB1I0hSf505YUCodO9f3L q/13HujdKqZ8RlBEY+NJzrp6V5Q4fMznRugeKIJ4doLd46qQTigmdv5oYFNQv/qALZjz cBPCmRPlCjl+LDHy1ri6IW6ZeFch6utlw8NNDJzt82LwNfg8JgnKeYm5MnNfuX1uIm+c nF/RkyFiTIDhPQ7ugqFm+gm/nGUDQOlDGuMAVncS+mAn0v/A8OcGFhifGCGY3Mficif+ tT8h0OQitWaGtlhwg+aAXtrBelLvalb+bc1YGRdQspNkukVYQIiZa62OLX0VWVbSW3j4 PeGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762987490; x=1763592290; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=qBhskq3BKhyvIwhsFA1qzDcFCXp8SEHQbH8DXmKcR9w=; b=jxRJsOSRNxknR4zF6P4sLvdd3tFIlTNxKO3stsx6s0Ek0wHGc4EyF0lZNMqYR87wkP X5DnACOIW78T4G9UeBZYvj8C2lykPaupCEIt2ibxas9bY/3EZp8bCmkmcjh78Mwt31Yf hDyt5HRGoQYAkXJFC2Tj9ADML3unRCsU+QPmp7Ccip90ngStE+p5kSdADOdlT8qhsdgT p6g8NLkG29SLlkqPygukPqs5OSgdePdhO79h9ezv9NzxWmPNnLWmHb9lB/+Jz1xid7sf RA8NxQ6+a1KF0WDRfTTFClxqVSkCoXB9mWJrNN6daqctJdBLjs2Ja3aeuuE/yAuKEagf Wwng== X-Forwarded-Encrypted: i=1; AJvYcCWtGOkZ/yzaV0DkhGKSXwjZ3e9BPj3oWx1wTYmGwarS6DTtT9UjexS3x/9rlED1qd51C8dzYZndMsy9NjV7@lists.postgresql.org X-Gm-Message-State: AOJu0YwH7QhKsyEQ5eVEM2nncLS4hD86i8oAjTJ4WZ3EP95axBvnhrGc uEOarISsPvc6Pd+nag+QS6wqgKWlK/AoPqMNm9lV6WtjtMKdF90X/FrY54IsY532TanQKuGO3hx 4+J/Tj3ShegmmI6B92lVPbXYnu0vVsP/U/UxlzWh6 X-Gm-Gg: ASbGncstdAwsoD9Fs3uUT/VvbrVJMboCXMRwUGq3jVKkwH2uIsqpVEshEpnndNsDyxO hCcObyCHuZYxuOwM0N3Emg2VvkribzDvQ50U8nChzbcvOdE0prN8EeijJdY8T1VnV1ui+/6PzRr 1ZIGL2ojHwjzmi2RSakTyT7HklLUhuWNZrnDw6Xfm9KRQGhTtnw2qQplBAsjsjI3yDR/FVJbVgU ZNc1R3+4ggBKIcSnMyXDD1pXMEZUNZ3cajqlX/zo+E2sfuKQY0Wly1kQqIRjpA= X-Google-Smtp-Source: AGHT+IHRghc3IP+eZjOurijCnzm2bxlWMTpP80jKwKcZTTX5V5KaNN/g4Nf94se/KWedbHr1of/Gq2UILr3zePO82ro= X-Received: by 2002:a05:6214:2aa1:b0:880:5001:17d1 with SMTP id 6a1803df08f44-882719e68d1mr69736846d6.37.1762987490599; Wed, 12 Nov 2025 14:44:50 -0800 (PST) MIME-Version: 1.0 References: <88986722-5A72-4DEC-8750-BDBF67FF8C01@yesql.se> <7E77028B-5A3A-436B-9046-8E9992E9F94A@yesql.se> <0BC5B9B1-6503-4563-AAC6-33DEF264AE3F@yesql.se> <80F4F8F4-8E4F-4B6F-866B-D837057C1192@yesql.se> In-Reply-To: From: Jacob Champion Date: Wed, 12 Nov 2025 14:44:39 -0800 X-Gm-Features: AWmQ_blGaZl5souUHLV_AqckV30EpvwJzPSCr9LISj7bZTmDQPEIM16qhgsH0og Message-ID: Subject: Re: Serverside SNI support in libpq To: Daniel Gustafsson Cc: Michael Paquier , Andres Freund , Pgsql Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Nov 10, 2025 at 2:33=E2=80=AFPM Daniel Gustafsson = wrote: > Attached is a cleaned up rebase with improved memory handling, additional= code > documentation, removed passphrase test (sent as a separate thread), and s= ome > general cleanup and additional testing. Thanks! Builds and passes back to OpenSSL 1.1.1 and LibreSSL 3.4 (except for the unrelated known issue with "depth 0"/"depth 1", which this patch did not introduce [1]). Did you have any thoughts on my earlier review [2]? The test patch attached there still fails on my machine with v9. Thanks, --Jacob [1] https://postgr.es/m/CA%2BhUKG%2BfLqyweHqFSBcErueUVT0vDuSNWui-ySz3%2Bd_A= Pmq7dw%40mail.gmail.com [1] https://postgr.es/m/CAOYmi%2Bk%3DVF-2BCqfR49A92tx%3D_QNuL%3D3iT3w6FysOf= fKw9cxDQ%40mail.gmail.com