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

Unified Diff: net/socket/ssl_server_socket.h

Issue 1632913002: Add a note to avoid SSLServerSocket in new code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a note to avoid SSLServerSocket in new code. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_server_socket.h
diff --git a/net/socket/ssl_server_socket.h b/net/socket/ssl_server_socket.h
index dfda6c1d23c7672fcb14ea84fa937e3c46077a88..9053ea0259c56a0ae3426e5dd1c92896d415d439 100644
--- a/net/socket/ssl_server_socket.h
+++ b/net/socket/ssl_server_socket.h
@@ -1,6 +1,17 @@
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+//
+// NOTE: This class is provided to support existing Chromium consumers; it is
+// NOT intended for use in NEW code. Configuring a TLS server correctly is a
+// security-sensitive activity with many subtle nuances, and thus care should be
+// taken to discuss with //net/OWNERS before any new usages.
+//
+// As such, this header should be treated as an internal implementation detail
+// of //net (where it's used for some unit test infrastructure), not as
+// appropriate for general use.
+//
+// See https://crbug.com/621176 for more details.
#ifndef NET_SOCKET_SSL_SERVER_SOCKET_H_
#define NET_SOCKET_SSL_SERVER_SOCKET_H_
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698