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

Unified Diff: openssl/doc/ssl/SSL_CTX_set_mode.pod

Issue 9254031: Upgrade chrome's OpenSSL to same version Android ships with. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/openssl/
Patch Set: '' Created 8 years, 11 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 | « openssl/doc/ssl/SSL_CTX_new.pod ('k') | openssl/doc/ssl/SSL_CTX_set_options.pod » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: openssl/doc/ssl/SSL_CTX_set_mode.pod
===================================================================
--- openssl/doc/ssl/SSL_CTX_set_mode.pod (revision 105093)
+++ openssl/doc/ssl/SSL_CTX_set_mode.pod (working copy)
@@ -61,6 +61,16 @@
flag SSL_MODE_AUTO_RETRY will cause read/write operations to only
return after the handshake and successful completion.
+=item SSL_MODE_RELEASE_BUFFERS
+
+When we no longer need a read buffer or a write buffer for a given SSL,
+then release the memory we were using to hold it. Released memory is
+either appended to a list of unused RAM chunks on the SSL_CTX, or simply
+freed if the list of unused chunks would become longer than
+SSL_CTX->freelist_max_len, which defaults to 32. Using this flag can
+save around 34k per idle SSL connection.
+This flag has no effect on SSL v2 connections, or on DTLS connections.
+
=back
=head1 RETURN VALUES
« no previous file with comments | « openssl/doc/ssl/SSL_CTX_new.pod ('k') | openssl/doc/ssl/SSL_CTX_set_options.pod » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698