Skip to content
This repository was archived by the owner on May 28, 2018. It is now read-only.

Fix jersey-netty-connector to allow unauthenticated proxies#3657

Open
leonard84 wants to merge 1 commit intojavaee:masterfrom
1and1:fix-netty-connector-proxy
Open

Fix jersey-netty-connector to allow unauthenticated proxies#3657
leonard84 wants to merge 1 commit intojavaee:masterfrom
1and1:fix-netty-connector-proxy

Conversation

@leonard84
Copy link
Contributor

Nettys io.netty.handler.proxy.HttpProxyHandler#HttpProxyHandler(java.net.SocketAddress, java.lang.String, java.lang.String) will throw an NPE if called with either username or password as null. So use io.netty.handler.proxy.HttpProxyHandler#HttpProxyHandler(java.net.SocketAddress) instead if either of them are null.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants