Skip to content

Commit f2d8031

Browse files
committed
Merge pull request AsyncHttpClient#28 from BluePyth/master
This commit should fix issue AHC-116
2 parents fbf9ca5 + 7dd076c commit f2d8031

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)