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

Unified Diff: runtime/bin/secure_socket.cc

Issue 11280162: Add onError to dart:io SecureSocket. Allow onConnect and outputStream to coexist on Socket and Sec… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typo. Created 8 years, 1 month 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 | runtime/bin/socket_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/secure_socket.cc
diff --git a/runtime/bin/secure_socket.cc b/runtime/bin/secure_socket.cc
index f297aed7d257cdadc113fb94d007b67ead328fc5..2c9665b9982e0b95586550ea27ceffd042c7cb8d 100644
--- a/runtime/bin/secure_socket.cc
+++ b/runtime/bin/secure_socket.cc
@@ -262,6 +262,11 @@ void SSLFilter::InitializeLibrary(const char* certificate_database,
if (status != SECSuccess) {
ThrowPRException("Unsuccessful SSL_OptionSetDefault enable TLS call.");
}
+ status = SSL_ConfigServerSessionIDCache(0, 0, 0, NULL);
+ if (status != SECSuccess) {
+ ThrowPRException("Unsuccessful SSL_ConfigServerSessionIDCache call.");
+ }
+
} else {
ThrowException("Called SSLFilter::InitializeLibrary more than once");
}
« no previous file with comments | « no previous file | runtime/bin/socket_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698