JDK-4763344 : Proxy autoconfig script parsing still needs improvement
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2002-10-15
  • Updated: 2003-08-01
  • Resolved: 2003-08-01
Related Reports
Duplicate :  
Relates :  
Description
Java Web Start parses proxy autoconfiguration scripts very naively.  It basically just greps for a "PROXY:" string and grabs the first proxy server it finds, without actually running the javascript logic.  We should consider a better solution.
----------------
After extensive proxy detection modifications in tiger, we need to determine if we have lost any functionality in the other cases not adderssed.
1.) does proxy auto-detect now ALWAYS work on windows using IE.
2.) does it now ALWAYS work using other browsers (NS7) on windows.
3.) What is the current status on unix using NS or Mozzila ? we used to do as described above, and then show a dialog ( the first time ) asking user if these settings are ok.  


###@###.### 2003-06-19

Comments
EVALUATION On Windows, we should grab the COM JScript parsing engine and use it to parse the Javascript autoconfig script. Unfortunately there is not much we can do on Solaris/Linux, unless we bundle a Javascript parser with jaws. ###@###.### 2002-07-23 An attempt at implementing the above was mostly successful, however we were unable to pass the dynamic proxy setting back to Java: The proxy autoconfig script must be evaluated on a per-connection basis, which we could do, however we cannot easily set the proxy back to Java on a per-connection basis. We evaluated 2 solutions: 1. Hack the protocol handler like the plugin does. Rejected because of time to implement and complexity to implement across multiple versions of Java. 2. Create a cascading proxy in the same VM to do proxy selection. Rejected because of time to implement and complexity. We decided to put off true autoconfig script support until Tiger when the networking libraries will natively support it. ###@###.### 2002-10-15 this is fixed by 4802557: Consolidation of Network/Proxy/Cookie ###@###.### 2003-08-01
15-10-2002