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

Issue 1750001: Don't process the same address for throttling. (Closed)

Created:
10 years, 8 months ago by ukai
Modified:
9 years, 7 months ago
CC:
chromium-reviews, jam, Paweł Hajdan Jr., cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Don't process the same address for websocket throttling. Host resolver might return address list that contains the same address twice or more. In this case, we should not process the address for websocket throttling multiple times. If we don't have duplicate check of address, it would put the job throttle by the job itself (deadlock). I think this is cause of failure in Linux perf (webkit.org) bot and websocket fail to connect localhost on ubuntu (crbug.com/36652) BUG=36652, 41319, 40995 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=45156

Patch Set 1 #

Patch Set 2 : add test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -0 lines) Patch
M net/websockets/websocket_throttle.cc View 4 chunks +16 lines, -0 lines 0 comments Download
M net/websockets/websocket_throttle_unittest.cc View 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
ukai
10 years, 8 months ago (2010-04-21 05:24:49 UTC) #1
tyoshino (SeeGerritForStatus)
10 years, 8 months ago (2010-04-21 06:49:30 UTC) #2
LGTM


In description:
might returns -> might return

Powered by Google App Engine
This is Rietveld 408576698