Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit282298d

Browse files
committed
Merge pull requestAsyncHttpClient#1164 from malaporte/fix-npe-in-jdk-proxy
Fix proxy when using JDK provider
2 parentsfbbb2bf +e17641c commit282298d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎src/main/java/com/ning/http/client/providers/jdk/JDKAsyncHttpProvider.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,6 @@ private void configure(Uri uri, HttpURLConnection urlConnection, Request request
476476
ProxyServerproxyServer =ProxyUtils.getProxyServer(config,request);
477477
booleanavoidProxy =ProxyUtils.avoidProxy(proxyServer,uri.getHost());
478478
if (!avoidProxy) {
479-
urlConnection.setRequestProperty("Connection",ka);
480479
if (proxyServer.getPrincipal() !=null) {
481480
urlConnection.setRequestProperty("Proxy-Authorization",AuthenticatorUtils.computeBasicAuthentication(proxyServer));
482481
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp