Skip to content

Commit 48bf6e2

Browse files
committed
Changes for AsyncHttpClient#404
1 parent 59d7e85 commit 48bf6e2

File tree

1 file changed

+0
-3
lines changed
  • providers/grizzly/src/main/java/org/asynchttpclient/providers/grizzly/filters

1 file changed

+0
-3
lines changed

providers/grizzly/src/main/java/org/asynchttpclient/providers/grizzly/filters/ProxyFilter.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@ public NextAction handleWrite(FilterChainContext ctx)
8181

8282
private void addProxyHeaders(final Realm realm,
8383
final HttpRequestPacket request) {
84-
if (!request.getHeaders().contains(Header.ProxyConnection)) {
85-
request.setHeader(Header.ProxyConnection, "keep-alive");
86-
}
8784
if (realm != null && realm.getUsePreemptiveAuth()) {
8885
final String authHeaderValue = generateAuthHeader(realm);
8986
if (authHeaderValue != null) {

0 commit comments

Comments
 (0)