jetty/jetty.project
Why there is no Regex Support for excludeList of nonProxyHost
开放
#8,329 创建于 2022年7月22日
EnhancementHelp Wanted
仓库指标
- 星标
- (3,701 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
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