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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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