Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(639)

Issue 1656: This change implements the performance recommendation from: ... (Closed)

Created:
12 years, 3 months ago by griffinz
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

This change implements the performance recommendation from: http://msdn.microsoft.com/en-us/library/aa383153(VS.85).aspx This fixes the performance problem of resolving query... when WinHTTP AutoProxy service is running. Which seems to at least be default on Vista & w2k3. ************To improve performance************ Call WinHttpGetProxyForUrl with the fAutoLogonIfChallenged parameter set to false. The autoproxy URL and script are cached for future calls to WinHttpGetProxyForUrl. If Step 1 fails, with ERROR_WINHTTP_LOGIN_FAILURE, then call WinHttpGetProxyForUrl with the fAutoLogonIfChallenged member set to true. BUG=1684

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -11 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M net/proxy/proxy_resolver_winhttp.cc View 1 2 3 4 5 6 2 chunks +27 lines, -11 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
griffinz
http://code.google.com/p/chromium/issues/detail?id=1684
12 years, 3 months ago (2008-09-09 05:15:23 UTC) #1
ian fette
First of all, thank you for contributing. We all appreciate it. I have a few ...
12 years, 3 months ago (2008-09-09 06:00:04 UTC) #2
wtc
12 years, 3 months ago (2008-09-09 19:08:24 UTC) #3
LGTM.

http://codereview.chromium.org/1656/diff/21/209
File net/proxy/proxy_resolver_winhttp.cc (right):

http://codereview.chromium.org/1656/diff/21/209#newcode104
Line 104: // Otherwise, we failover to trying it with a value of true.  This way
we get
Nit: "fail over", two words.

http://codereview.chromium.org/1656/diff/21/209#newcode105
Line 105: // good performance in the case where WinHTTP uses an out-of-proc
resolver.
Nit: "out-of-process".

http://codereview.chromium.org/1656/diff/21/209#newcode118
Line 118: if(!ok) {
Add a space after "if".

Powered by Google App Engine
This is Rietveld 408576698