diff options
author | Matt Caswell <matt@openssl.org> | 2016-01-13 14:20:25 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-03-07 21:39:27 +0000 |
commit | dad78fb13d790cd06afd6e88067c038d22d7780f (patch) | |
tree | 784454e5db93dedfd5239e36b7e61c055d1a1b4b /ssl/ssl_locl.h | |
parent | 0220fee47f912c9c89efe24c09e10f4d452a4d42 (diff) |
Add an ability to set the SSL read buffer size
This capability is required for read pipelining. We will only read in as
many records as will fit in the read buffer (and the network can provide
in one go). The bigger the buffer the more records we can process in
parallel.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'ssl/ssl_locl.h')
-rw-r--r-- | ssl/ssl_locl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index aa3e0a307e..064c22c25a 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -843,6 +843,9 @@ struct ssl_ctx_st { /* Up to how many pipelines should we use? If 0 then 1 is assumed */ unsigned int max_pipelines; + /* The default read buffer length to use (0 means not set) */ + size_t default_read_buf_len; + # ifndef OPENSSL_NO_ENGINE /* * Engine to pass requests for client certs to |