Issue 1684: Chrome does not properly cache 'proxy.pac' file on Vista w/  
WinHTTP AutoProxy service running, causing excessing requests and  
performance penalty.
http://code.google.com/p/chromium/issues/detail?id=1684

New issue report by griffinz:
Product Version      : 0.2.149.27 (1583)
URLs (if applicable) : n/a
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 3: OK
     Firefox 3: OK
          IE 7: OK

What steps will reproduce the problem?
1. Place a "proxy.pac" file on a webserver, set Use automatic configuration
script to url of proxy.pac file, and verify service "WinHTTP Web Proxy
Auto-Discovery Service" is running.

2. Request url, example http://cnn.com/ and watch the webserver log
containg "proxy.pac" file.  A request will be generated for each request,
doubling the number of requests.

3. Now stop "WinHTTP Web Proxy Auto-Discovery Service", restart chrome and
request the same page, only 1 request will be generated per session and
"Resolving proxy..." slowness will be eliminated for this case.


Please provide any additional information below. Attach a screenshot if
possible.


curl -i http://192.168.1.100/proxy.pac output:

HTTP/1.1 200 OK
Expires: Sun, 07 Sep 2008 23:36:16 GMT
Cache-Control: max-age=86400
Content-Type: application/x-ns-proxy-autoconfig
Accept-Ranges: bytes
ETag: "969089335"
Last-Modified: Mon, 27 Aug 2007 15:59:23 GMT
Content-Length: 618
Date: Sat, 06 Sep 2008 23:36:16 GMT
Server: lighttpd/1.4.19

function FindProxyForURL(url, host)
{
     var host1 = host.toLowerCase();
     var urll = url.toLowerCase();

     // proxy rules removed for privacy.

     return "DIRECT";
}

----

access log when Service is enabled:

192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:37 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:37 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:38 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:38 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:38 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:38 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:38 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:38 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:39 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:39 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:39 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:39 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:39 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:40 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:40 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:40 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:40 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:40 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:41 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:41 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:41 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:41 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:41 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:41 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:42 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:42 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:42 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:42 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:39:42 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"

etc... etc... 1:1 request per real request, I can only imagine how much
slower this would be over a higher latency network connection then a local
network.

with service disabled, 3 requests are browser first request and _thats_ it.

192.168.1.111 192.168.1.100 - [06/Sep/2008:18:41:10 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "WinHttp-Autoproxy-Service/5.1"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:41:10 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "-"
192.168.1.111 192.168.1.100 - [06/Sep/2008:18:41:22 -0500] "GET /proxy.pac
HTTP/1.1" 200 618 "-" "-"

--- notes on the service itself.

What is WinHTTP Auto proxy service?

This service implements the Web Proxy Auto-Discovery (WPAD) protocol for
Windows HTTP Services (WinHTTP). WPAD is a protocol to enable an HTTP
client to automatically discover a proxy configuration. If this service is
stopped or disabled, the WPAD protocol will be executed within the HTTP
client's process instead of an external service process; there would be no
loss of functionality as a result.








Issue attributes:
        Status: Unconfirmed
        Owner: [EMAIL PROTECTED]
        Labels: Type-Bug Pri-2 OS-All Area-Unknown

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to