Hi Miyuru, I think above code segment was changed by lalaji in the trunk to support regex. https://wso2.org/jira/browse/ESBJAVA-2364
Thanks. On Mon, Sep 2, 2013 at 2:53 PM, Miyuru Wanninayaka <[email protected]> wrote: > I can remember that in old ESB versions, we do a regex matching for proxy > bypass list. > So we can define wildcard notations for bypass like 10.100.* > > But in current code it's just a string matching > > org.apache.synapse.transport.http.conn.ProxyConfig > > public HttpHost selectProxy(final HttpHost target) { > if (this.proxy != null) { > if > (!this.proxyBypass.contains(target.getHostName().toLowerCase(Locale.US))) { > return this.proxy; > } > } > return null; > } > > What should be the correct behavior? > > -- > Miyuru Wanninayaka > Technical Lead > WSO2 Inc. : http://wso2.com > > Mobile : +94 77 209 9788 > Blog : http://miyurudw.blogspot.com > Flickr : http://www.flickr.com/photos/miyuru_daminda > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Isuru Udana* * * Senior * Software Engineer * WSO2 Inc.; http://wso2.com email: [email protected] cell: +94 77 3791887 blog: http://mytecheye.blogspot.com/ twitter: http://twitter.com/isudana
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
