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

Unified Diff: runtime/bin/secure_socket_boringssl.cc

Issue 2545833003: Fuchsia: Throttle epoll to prevent message queues from being overwhelmed with level-triggered event… (Closed)
Patch Set: . Created 4 years 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 | « runtime/bin/eventhandler_fuchsia.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/secure_socket_boringssl.cc
diff --git a/runtime/bin/secure_socket_boringssl.cc b/runtime/bin/secure_socket_boringssl.cc
index 6062e620a7972e20a1344ba5577293c9310d4e54..280d1f7238f5e4e6e48d604ac9a279167643a5bc 100644
--- a/runtime/bin/secure_socket_boringssl.cc
+++ b/runtime/bin/secure_socket_boringssl.cc
@@ -1522,10 +1522,6 @@ void SSLFilter::Connect(const char* hostname,
SSL_set_mode(ssl_, SSL_MODE_AUTO_RETRY); // TODO(whesse): Is this right?
SSL_set_ex_data(ssl_, filter_ssl_index, this);
-#if defined(TARGET_OS_FUCHSIA)
- // Temporary workaround until we isolate the memory leak issue.
- SSL_set_verify(ssl_, SSL_VERIFY_NONE, NULL);
-#else
if (is_server_) {
int certificate_mode =
request_client_certificate ? SSL_VERIFY_PEER : SSL_VERIFY_NONE;
@@ -1550,7 +1546,6 @@ void SSLFilter::Connect(const char* hostname,
CheckStatus(status, "TlsException",
"Set hostname for certificate checking");
}
-#endif // defined(TARGET_OS_FUCHSIA)
// Make the connection:
if (is_server_) {
status = SSL_accept(ssl_);
« no previous file with comments | « runtime/bin/eventhandler_fuchsia.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698