pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mahmoud Bahaa <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] 23cce8: fix: remove receiving EOF from backend after cance...
Date: Mon, 16 Dec 2019 07:39:03 -0800
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/aaccf4-23cce8@github.com> (raw)

  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 23cce8ad35d9af6e2a1cb97fac69fdc0a7f94b42
      https://github.com/pgjdbc/pgjdbc/commit/23cce8ad35d9af6e2a1cb97fac69fdc0a7f94b42
  Author: Mahmoud Bahaa <mahmoud.bahaa@incorta.com>
  Date:   2019-12-16 (Mon, 16 Dec 2019)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/core/QueryExecutorBase.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/StatementTest.java

  Log Message:
  -----------
  fix: remove receiving EOF from backend after cancel since according to protocol the server closes the connection once cancel is sent (connection reset exception is always thrown) (#1641)

quote "The server will process this [cancel] request and then close the connection. For security reasons, no direct reply is made to the cancel request message." https://www.postgresql.org/docs/current/protocol-flow.html







Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/aaccf4-23cce8@github.com>
Permalink:  ../pgjdbc%2Fpgjdbc%2Fpush%2Frefs%2Fheads%2Fmaster%2Faaccf4-23cce8@github.com/
Also on:    postgresql.org/message-id/pgjdbc/pgjdbc/push/refs/heads/master/aaccf4-23cce8@github.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: noreply@github.com
  Subject: Re: [pgjdbc/pgjdbc] 23cce8: fix: remove receiving EOF from backend after cance...
  In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/aaccf4-23cce8@github.com>
  References: <pgjdbc/pgjdbc/push/refs/heads/master/aaccf4-23cce8@github.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox