From: | Joe Kutner <jpkutner(at)gmail(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | [pgjdbc/pgjdbc] 9813c6: fix: Added support for socksNonProxyHosts property... |
Date: | 2017-10-26 11:17:41 |
Message-ID: | 59f1c4554bf66_2f9e93f89e9125c34447c4@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 9813c685cae2cbfbc561a6220ba388cef08f34b0
https://github.com/pgjdbc/pgjdbc/commit/9813c685cae2cbfbc561a6220ba388cef08f34b0
Author: Joe Kutner <jpkutner(at)gmail(dot)com>
Date: 2017-10-26 (Thu, 26 Oct 2017)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/core/PGStream.java
M pgjdbc/src/main/java/org/postgresql/util/HostSpec.java
A pgjdbc/src/test/java/org/postgresql/test/jre8/core/Jre8TestSuite.java
A pgjdbc/src/test/java/org/postgresql/test/jre8/core/SocksProxyTest.java
A pgjdbc/src/test/java/org/postgresql/test/util/HostSpecTest.java
Log Message:
-----------
fix: Added support for socksNonProxyHosts property (#975) (#985)
When a socksProxyHost is configured, there needs to be an escape value
so that some hosts are resolved immediately. The Java Networking spec[1]
does not specify such an option, but the socksNonProxyHosts is used in the
sun.net.spi.DefaultProxySelector. The behavior is mentioned in bug report
5001942[2]. This commit reimplements the logic in the DefaultProxySelector.select
method to determine if the host should be resolved immediately.
[1] http://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html
[2] http://bugs.java.com/bugdatabase/view_bug.do?bug_id=5001942
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Cramer | 2017-10-31 07:20:55 | [pgjdbc/pgjdbc] 059628: test: Appveyor configuration (#1000) |
Previous Message | Dave Cramer | 2017-10-25 14:22:16 | [pgjdbc/pgjdbc] 2dcb91: fix: support Subject Alternative Names for SSL con... |