Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eyCFJ-00057G-MW for pgsql-committers@arkaria.postgresql.org; Tue, 20 Mar 2018 08:03:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eyCFI-0002Yw-5J for pgsql-committers@arkaria.postgresql.org; Tue, 20 Mar 2018 08:03:48 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eyCFH-0002Ym-QV for pgsql-committers@lists.postgresql.org; Tue, 20 Mar 2018 08:03:48 +0000 Received: from mail-lf0-x233.google.com ([2a00:1450:4010:c07::233]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eyCF9-0007t7-TU for pgsql-committers@postgresql.org; Tue, 20 Mar 2018 08:03:46 +0000 Received: by mail-lf0-x233.google.com with SMTP id j68-v6so1062341lfg.13 for ; Tue, 20 Mar 2018 01:03:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=acLIwxt2efCZZptf/d96YmJ9J7nPsrjedxPxswxfKGw=; b=jGkndI7ZBu5TdqWnlZF1730cpskRnIi744UHL5aBCrMrQyNbWhiJWT3T0rmK9gCnYP fbWMoSxA1+BGALIRMzlRxhS9g8MscAyAPdeTjbX8n5v3ymhh6peim8ghNVmyptv/Eh5e zyTkI1Zy65bhXAkoS+ZEuTHYqJMkyxKRukDxma292ZvCatZ/N2s9y7tF/hrCPP5EpyDx zdWgvF9X5oWG+9ZDHE1JV9HM2NS+k02VU1B4x+WlOTPjOtd/liVuPHAFR5wTOEcDSZBF lVoxtpC63X9nZqbWn7X9AcPKc5iiqSBNymtTn1GQijFD4DzHsksPVMi8G2DUTFSvO7+k mm/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:mime-version:subject:from:in-reply-to :date:cc:content-transfer-encoding:message-id:references:to; bh=acLIwxt2efCZZptf/d96YmJ9J7nPsrjedxPxswxfKGw=; b=TszfXHofPPznaF/eGzBqzq6OWjvTGk43tY/HRPmEynAAwgLKKEtZh4BcCweDFZsfpw //24H4Wpjq4KqzHOme1cxZ6P3/Lw2Iwiya0or58cVbWUxzMpUeJ04rvrNsxEEPX0YrXw lowZDtFJP5gGlitTcr/pLU/0MoAajo/dOS0I0Pul6Zea1+8RupgF8EvsHbPGpKqB61UF WgyUN5uMKQixWJYGgNSFkwg8AfzYo1vwqmJG7OlDp14iQNfrXHd35FA5iyMmWMSRuxAV FNUGATE96/x8cmT/+yTS1aw1BVPeTCak9PtRKtMpqdPYo/OZ4BDBn9TbbbJ2WP9/HzXy Re+A== X-Gm-Message-State: AElRT7EsAmrVa2nMyYrtxlaKfPLML2goNHcoKG3AfgpCqBtSPhOaHssP cFoEr5adCQBxEZqMpGG+xSw= X-Google-Smtp-Source: AG47ELuOVRhQubLOpDKBnnGkRjF5SVA1Fz4HovDFeHCr15hkXLdOYsqYlRERbaY6e6rHNyJ8bF4/ag== X-Received: by 10.46.137.203 with SMTP id c11mr10385084ljk.61.1521533016794; Tue, 20 Mar 2018 01:03:36 -0700 (PDT) Received: from [192.168.1.69] (c-1026e455.027-294-73746f71.cust.bredbandsbolaget.se. [85.228.38.16]) by smtp.gmail.com with ESMTPSA id 93-v6sm284278lfy.5.2018.03.20.01.03.36 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 20 Mar 2018 01:03:36 -0700 (PDT) Sender: Daniel Gustafson Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: pgsql: Set libpq sslcompression to off by default From: Daniel Gustafsson In-Reply-To: <15980.1521519338@sss.pgh.pa.us> Date: Tue, 20 Mar 2018 09:03:35 +0100 Cc: Peter Eisentraut , pgsql-committers@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <32687.1521305277@sss.pgh.pa.us> <15980.1521519338@sss.pgh.pa.us> To: Tom Lane X-Mailer: Apple Mail (2.3124) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On 20 Mar 2018, at 05:15, Tom Lane wrote: >=20 > Peter Eisentraut writes: >> On 3/17/18 15:12, Daniel Gustafsson wrote: >>> On 17 Mar 2018, at 17:47, Tom Lane wrote: >>>> Buildfarm reports that SSL_clear_options isn't available = everywhere. >=20 >>> Per some reading of the documentation and various patchers it seems >>> SSL_clear_options() was introduced in 0.9.8m and = SSL_OP_NO_COMPRESSION in >>> 1.0.0. >=20 >> It seems the failure is limited to an old NetBSD version. They might >> have patched their libssl locally somehow. Is it worth supporting = this? >=20 > Dunno, but the other side of the coin is that the goals of this patch > don't seem like a sufficient reason to break backwards compatibility > with any platform. If we test for SSL_clear_options(), and use the sk_SSL_COMP_zero() where = not available, we should be able to keep backwards compatibility with older = OpenSSL revisions even if the distros have patched them AFAICT. Unless you=E2=80=99= re already working on it I can take a stab at it. cheers ./daniel=