United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4763344 : Proxy autoconfig script parsing still needs improvement

Details
Type:
Bug
Submit Date:
2002-10-15
Status:
Closed
Updated Date:
2003-08-01
Project Name:
JDK
Resolved Date:
2003-08-01
Component:
deploy
OS:
generic
Sub-Component:
webstart
CPU:
generic
Priority:
P4
Resolution:
Duplicate
Affected Versions:
1.2.0
Fixed Versions:

Related Reports
Duplicate:
Relates:

Sub Tasks

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
                                     
2002-10-15



Hardware and Software, Engineered to Work Together