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

Issue 660144: Log a warning message if an SSL server does not support... (Closed)

Created:
10 years, 10 months ago by wtc
Modified:
9 years, 7 months ago
Reviewers:
abarth-chromium
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Log an informational message if an SSL server does not support SSL secure renegotiation. R=abarth BUG=none TEST=Run Chrome witl logging enabled. Visit https://www.google.com/. An informational message like [1812:8012:351987676:INFO:ssl_client_socket_nss.cc(651)] The server www.google.com does not support SSL secure renegotiation. should be logged. Then visit https://ssltls.de/. No such informational message should be logged. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=40192

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : Log an informational message. #

Patch Set 4 : Upload before checkin. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -0 lines) Patch
M net/socket/ssl_client_socket_nss.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 1 2 3 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
wtc
10 years, 10 months ago (2010-02-26 00:53:26 UTC) #1
abarth-chromium
Ok, but don't we want to log this to the developer console?
10 years, 10 months ago (2010-02-26 01:06:36 UTC) #2
wtc
On 2010/02/26 01:06:36, abarth wrote: > Ok, but don't we want to log this to ...
10 years, 10 months ago (2010-02-26 01:23:01 UTC) #3
abarth-chromium
I don't think net can do that directly. I'm not sure how much plumbing would ...
10 years, 10 months ago (2010-02-26 02:22:21 UTC) #4
wtc
I also found that RenderViewHost::AddMessageToConsole doesn't seem to be used. Can I just use LOG(XXX)? ...
10 years, 10 months ago (2010-02-26 03:11:40 UTC) #5
wtc
OK, Patch Set 2 logs warning messages to the Console in "Inspect element". It still ...
10 years, 10 months ago (2010-02-26 04:20:30 UTC) #6
wtc
I found one problem with logging to the Console: if the page is redirected, the ...
10 years, 10 months ago (2010-02-26 04:27:09 UTC) #7
abarth-chromium
> So I'm now in favor of just logging to the debug log. Ok. If ...
10 years, 10 months ago (2010-02-26 04:45:38 UTC) #8
wtc
10 years, 10 months ago (2010-02-26 19:59:42 UTC) #9
At some point we'll need to plumb the fact that a server
doesn't support secure renegotiation to the SSLManager or
SSLPolicy so that it can be shown in Page Security
Information dialog.  But I don't want to add that bit to
cert_status to avoid confusion.  I think I'll need to add
a connection_status member to net::SSLInfo and
NavigationEntry::SSLStatus and put the bit flag in
connection_status.  I'll do that when the time comes.

For now, I'll just log an informational message.  The
default logging level is "warning", so most people won't
see these messages.  Sigh.

Powered by Google App Engine
This is Rietveld 408576698