LeeJinpyoung / javapns

Automatically exported from code.google.com/p/javapns
0 stars 0 forks source link

System property http.noProxyHosts not considered #155

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The ProxyManager class currently does not consider the system property 
http.noProxyHosts. I have a use case where I would like to bypass the http 
proxy for the javapns requests to APNS, but setting 
-Dhttp.noProxyHosts=gateway.sandbox.push.apple.com us ignored, meaning the 
javans requests are proxied nevertheless.

What steps will reproduce the problem?
1. set https.proxyHost and https.proxyHost system properties
2. javapns push notification for APNS will go through the proxy
3. set -Dhttp.noProxyHosts=gateway.sandbox.push.apple.com
4. javapns push notification for APNS still go through the proxy, even though 
they should not

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

2.2

Original issue reported on code.google.com by silvano....@vipera.com on 21 Nov 2012 at 8:11

GoogleCodeExporter commented 8 years ago

Original comment by sype...@gmail.com on 5 Feb 2013 at 7:25