Skip to content

Commit 7dd076c

Browse files
committed
Quick fix for AHC-116
1 parent fbf9ca5 commit 7dd076c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/ning/http/client/providers/netty/NettyAsyncHttpProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ private static HttpRequest construct(AsyncHttpClientConfig config,
631631
}
632632

633633
if (proxyServer.getPrincipal() != null) {
634-
if (proxyServer.getNtlmDomain() != null) {
634+
if (proxyServer.getNtlmDomain() != "") {
635635

636636
List<String> auth = request.getHeaders().get(HttpHeaders.Names.PROXY_AUTHORIZATION);
637637
if (!(auth != null && auth.size() > 0 && auth.get(0).startsWith("NTLM"))) {

0 commit comments

Comments
 (0)