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

Issue 2950343002: Break down Net.WebSocket.ErrorCodes by localhost (Closed)

Created:
3 years, 6 months ago by Adam Rice
Modified:
3 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, asvitkine+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Break down Net.WebSocket.ErrorCodes by localhost Add two new histograms, Net.WebSocket.ErrorCodes_Localhost and Net.WebSocket.ErrorCodes_NotLocalhost, to split error codes by whether or not the URL refers to localhost. This is intended to determine what errors are caused by connections to locally-running applications, and get better information about the errors that other WebSocket servers have. The matching is done by text, rather than by DNS lookup, so "localhost", 127.* and ::1 will go into Net.WebSocket.ErrorCodes_Localhost but other host names that happen to resolve to 127.0.0.1 will not. Manually tested by looking at about:histograms. BUG= Review-Url: https://codereview.chromium.org/2950343002 Cr-Commit-Position: refs/heads/master@{#482197} Committed: https://chromium.googlesource.com/chromium/src/+/56a7cdb2df5c350fbd1c97d0f35aada0d3d67b9b

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M net/websockets/websocket_stream.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
Adam Rice
3 years, 6 months ago (2017-06-22 15:04:15 UTC) #5
tyoshino (SeeGerritForStatus)
lgtm!
3 years, 6 months ago (2017-06-22 15:28:43 UTC) #6
Adam Rice
+asvitkine for histograms.xml.
3 years, 6 months ago (2017-06-23 06:16:20 UTC) #10
Alexei Svitkine (slow)
lgtm
3 years, 6 months ago (2017-06-23 18:47:38 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2950343002/1
3 years, 5 months ago (2017-06-26 03:58:22 UTC) #13
commit-bot: I haz the power
3 years, 5 months ago (2017-06-26 05:10:28 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/56a7cdb2df5c350fbd1c97d0f35a...

Powered by Google App Engine
This is Rietveld 408576698