| From: | Vladimir Sitnikov <noreply(at)github(dot)com> |
|---|---|
| To: | pgsql-jdbc(at)lists(dot)postgresql(dot)org |
| Subject: | [pgjdbc/pgjdbc] 75c493: test: set gssEncMode only in case it is not alread... |
| Date: | 2021-01-10 21:59:29 |
| Message-ID: | pgjdbc/pgjdbc/push/refs/heads/master/f3301c-56bd1c@github.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 75c493920a52e4f8fce756e72f800d3b2cf028ad
https://github.com/pgjdbc/pgjdbc/commit/75c493920a52e4f8fce756e72f800d3b2cf028ad
Author: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
Date: 2021-01-11 (Mon, 11 Jan 2021)
Changed paths:
M build.gradle.kts
M pgjdbc/src/test/java/org/postgresql/test/TestUtil.java
M pgjdbc/src/test/java/org/postgresql/test/ssl/SslTest.java
Log Message:
-----------
test: set gssEncMode only in case it is not already present in Properties
Previously TestUtil always overwrited gssEncMode.
Commit: 01c88619f95aa0c7cde03b64ba339c82602e2698
https://github.com/pgjdbc/pgjdbc/commit/01c88619f95aa0c7cde03b64ba339c82602e2698
Author: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
Date: 2021-01-11 (Mon, 11 Jan 2021)
Changed paths:
M pgjdbc/src/test/java/org/postgresql/test/ssl/SslTest.java
Log Message:
-----------
test: temporarily allow CONNECTION_UNABLE_TO_CONNECT in SslTest for bad client certificates
Java 11 does not drain input stream completely during the handshake,
so alert("bad client certificate") is not received until pgjdbc sends
the startup message, which is too late.
So we allow a generic CONNECTION_UNABLE_TO_CONNECT code for "bad client certificate"
case.
Commit: 56bd1cc845759cf9d0ddaeb5797ae0584c8a496d
https://github.com/pgjdbc/pgjdbc/commit/56bd1cc845759cf9d0ddaeb5797ae0584c8a496d
Author: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
Date: 2021-01-11 (Mon, 11 Jan 2021)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/core/PGStream.java
Log Message:
-----------
perf: avoid duplicate PGStream#changeSocket calls
Typical usages are changeSocket(createSocket()), so changeSocket
should not be called from createSocket().
Compare: https://github.com/pgjdbc/pgjdbc/compare/f3301c140d83...56bd1cc84575
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Rob Sargent | 2021-01-11 01:25:15 | CopyManager uses BaseConnection and I've lost mine |
| Previous Message | Vladimir Sitnikov | 2021-01-10 21:02:49 | [pgjdbc/pgjdbc] f3301c: fix: "Required class information missing" when old... |