Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i2FnS-0005dV-IA for pgsql-jdbc@arkaria.postgresql.org; Mon, 26 Aug 2019 14:16:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i2FnR-0001Pu-5E for pgsql-jdbc@arkaria.postgresql.org; Mon, 26 Aug 2019 14:16:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i2FnQ-0001Og-Ou for pgsql-jdbc@lists.postgresql.org; Mon, 26 Aug 2019 14:16:36 +0000 Received: from out-20.smtp.github.com ([192.30.252.203]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1i2FnN-0001Fr-Q3 for pgsql-jdbc@lists.postgresql.org; Mon, 26 Aug 2019 14:16:35 +0000 Date: Mon, 26 Aug 2019 07:16:32 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1566828992; bh=utJGFxvvNaBTkyXOMUUTf28JeYayEDW2DSLk54Ecy7Q=; h=Date:From:To:Subject:From; b=IBdHsAVYqINEE+jiNyvJvar1PD+Ne2ww6isluorA6uBIJiEO46yVBPaLOhNJRLqWD u1fhWCW/ynBIGpX3KNz5H/4+Ev1sHorPMgDay8IuTCHPxHYGLDyuePuIXZjjQRWryd /2IOb55j6y6hAdC1kzH9e8QKvv3CERyGMwwrC3H4= From: Dave Cramer To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 36a75c: fix issue 1547, as long as peek returns some bytes... 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: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 36a75cbaab4bda1b55f48aa9064258051cd89b10 https://github.com/pgjdbc/pgjdbc/commit/36a75cbaab4bda1b55f48aa9064258051cd89b10 Author: Dave Cramer Date: 2019-08-26 (Mon, 26 Aug 2019) Changed paths: M pgjdbc/src/main/java/org/postgresql/core/PGStream.java Log Message: ----------- fix issue 1547, as long as peek returns some bytes do not reset the timeout, this allows us to continue checking until any async notifies are consumed (#1548)