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

Reply via email to