Skip to content

JavaProxySearchStrategy only enabled with HTTP system properties given #58

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?

1. specify HTTPS, FTP, ... java proxy properties only, but no HTTP ones
2. try to use the JavaProxySearchStrategy


What is the expected output? What do you see instead?

expected: non-null ProxySelector instance returned from 
JavaProxySearchStrategy#getProxySelector()

actual: null due to #proxyPropertyPresent() method testing only for HTTP proxy 
system properties.


What version of the product are you using? On what operating system?

20131209


Please provide any additional information below.

This should be a rare problem. Happened for me only while testing and being 
lazy for system properties specification then, I knew that there will be only 
HTTPS accesses.

Original issue reported on code.google.com by jpsta...@gmail.com on 2 Apr 2015 at 3:27

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions