Why there is no Regex Support for excludeList of nonProxyHost
#8,329 opened on Jul 22, 2022
Repository metrics
- Stars
- (3,701 stars)
- PR merge metrics
- (Avg merge 6d 14h) (48 merged PRs in 30d)
Description
Code at line below should be enhanced: https://github.com/eclipse/jetty.project/blob/8102378e2d24b8117ed3a545c7579f79d35fc45a/jetty-client/src/main/java/org/eclipse/jetty/client/ProxyConfiguration.java#L180
Generally nonProxyHosts gets defined with wildcards like *.abc.com|*.svc.local etc.. so .equals doesn't help !
And apparently Jetty Client doesn't have any support for wildcard list of nonProxyHosts !!
PS: reactor-netty handles it pretty well, refer below: https://github.com/reactor/reactor-netty/blob/main/reactor-netty-core/src/main/java/reactor/netty/transport/ProxyProvider.java#L310