Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oDnEg-0000KH-8g for pgsql-jdbc@arkaria.postgresql.org; Tue, 19 Jul 2022 13:26:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oDnEe-00013P-4r for pgsql-jdbc@arkaria.postgresql.org; Tue, 19 Jul 2022 13:26:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oDnEd-00013G-SG for pgsql-jdbc@lists.postgresql.org; Tue, 19 Jul 2022 13:25:59 +0000 Received: from out-26.smtp.github.com ([192.30.252.209] helo=smtp.github.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oDnEX-0003H3-4L for pgsql-jdbc@lists.postgresql.org; Tue, 19 Jul 2022 13:25:58 +0000 Received: from github.com (hubbernetes-node-393e205.ash1-iad.github.net [10.56.226.59]) by smtp.github.com (Postfix) with ESMTPA id 026C45E0C56 for ; Tue, 19 Jul 2022 06:25:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1658237152; bh=XdnvKLQkrIdxsaZeX4KbLQKgR6guT0Qr0cqOUbFVxYc=; h=Date:From:To:Subject:From; b=tqBzIlH9ztVELrUlrL3Jz4fbEFx3M5E2Icfp9L81dDaDz2MlFpNAaGZviJlwKeoME W3oVGTmqS8r7AQmxVxbmi1P6c2A/4MDXh+d8Lib7wMR9JPelOR+KXnaKPzM+wE8rUB HmbeP82e5gDCfLAJhDe6mZ7tPIvvBYbgEQhVRJ6A= Date: Tue, 19 Jul 2022 06:25:52 -0700 From: Dave Cramer To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] a6044d: set a timeout to get the return from requesting SS... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: a6044d05b80e1bda2fbe2f4e6bd0a714b8e74030 https://github.com/pgjdbc/pgjdbc/commit/a6044d05b80e1bda2fbe2f4e6bd0a714b8e74030 Author: Dave Cramer Date: 2022-07-19 (Tue, 19 Jul 2022) Changed paths: M README.md M docs/documentation/head/connect.md M pgjdbc/src/main/java/org/postgresql/PGProperty.java M pgjdbc/src/main/java/org/postgresql/core/v3/ConnectionFactoryImpl.java M pgjdbc/src/main/java/org/postgresql/ds/common/BaseDataSource.java Log Message: ----------- set a timeout to get the return from requesting SSL upgrade. (#2572) * set a timeout to get the return from requesting SSL upgrade. * Make the SSL Response timeout a configurable property * fix docs and change logic to use lesser of current socket timeout or sslresponse timeout