This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JAVA_OPTS="-Djava.security.manager -Djava.security.policy=test.policy" VERIFY_JRUBY=true jruby -e "require 'fileutils'; FileUtils.mkdir_p '/tmp/hello/world'" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem install rails | |
JRUBY_OPTS=-Xnative.enabled=false jruby test.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git providers/netty/src/main/java/org/asynchttpclient/providers/netty/NettyAsyncHttpProvider.java providers/netty/src/main/java/org/asynchttpclient/providers/netty/NettyAsyncHttpProvider.java | |
index f2bdb14..8a42a2d 100644 | |
--- providers/netty/src/main/java/org/asynchttpclient/providers/netty/NettyAsyncHttpProvider.java | |
+++ providers/netty/src/main/java/org/asynchttpclient/providers/netty/NettyAsyncHttpProvider.java | |
@@ -2051,7 +2051,7 @@ public class NettyAsyncHttpProvider extends SimpleChannelUpstreamHandler impleme | |
future.setState(NettyResponseFuture.STATE.NEW); | |
// NTLM | |
- if (!wwwAuth.contains("Kerberos") && (wwwAuth.contains("NTLM") || (wwwAuth.contains("Negotiate")))) { | |
+ if (!wwwAuth.contains("Kerberos") && (wwwAuth.get(0).startsWith("NTLM") || (wwwAuth.contains("Negotiate")))) { |