[JDBC] [pgjdbc/pgjdbc] 9813c6: fix: Added support for socksNonProxyHostsproperty...

Поиск
Список
Период
Сортировка
От Joe Kutner
Тема [JDBC] [pgjdbc/pgjdbc] 9813c6: fix: Added support for socksNonProxyHostsproperty...
Дата
Msg-id 59f1c4554bf66_2f9e93f89e9125c34447c4@hookshot-fe-6dbb0c4.cp1-iad.github.net.mail
обсуждение исходный текст
Список 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@gmail.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



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: [JDBC] [pgjdbc/pgjdbc] 2dcb91: fix: support Subject Alternative Names forSSL con...
Следующее
От: Dave Cramer
Дата:
Сообщение: [JDBC] [pgjdbc/pgjdbc] 059628: test: Appveyor configuration (#1000)