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

Unified Diff: net/test/spawned_test_server/base_test_server.h

Issue 994373004: Properly handle alerts from the peer in SSL_read. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
Index: net/test/spawned_test_server/base_test_server.h
diff --git a/net/test/spawned_test_server/base_test_server.h b/net/test/spawned_test_server/base_test_server.h
index a43df110a7c55bf275829f15b22b468ff3a441fc..cfe36e2910ddaf329607a5616854e68dde0a3f2b 100644
--- a/net/test/spawned_test_server/base_test_server.h
+++ b/net/test/spawned_test_server/base_test_server.h
@@ -214,6 +214,9 @@ class BaseTestServer {
// disabled, the server will use an empty session ID in the
// ServerHello.
bool disable_session_cache;
+
+ // Whether to send a fatal alert immediately after completing the handshake.
+ bool alert_after_handshake;
};
// Pass as the 'host' parameter during construction to server on 127.0.0.1

Powered by Google App Engine
This is Rietveld 408576698