diff options
author | Iwan Timmer <irtimmer@gmail.com> | 2018-07-27 00:01:58 +0100 |
---|---|---|
committer | Iwan Timmer <irtimmer@gmail.com> | 2018-07-27 21:23:17 +0100 |
commit | 04c4d9199e04eb0ec2527ef34f182072d11a9338 (patch) | |
tree | 1366ebee483d4f07d23bcecb752da90db7ec122a /src/resolve/resolved-dnstls-openssl.h | |
parent | 096cbdce13b811f34726533d1a569912adc7cbec (diff) | |
download | systemd-04c4d9199e04eb0ec2527ef34f182072d11a9338.tar.gz |
resolved: TCP Fast Open and TLS Session Tickets for OpenSSL
To decreae latency this add support for TFO and TLS Session Tickets. As OpenSSL wouldn't let you easily set a different function all written data is temporarily cached and therefore needs to be flushed after each SSL function which can write data.
Diffstat (limited to 'src/resolve/resolved-dnstls-openssl.h')
-rw-r--r-- | src/resolve/resolved-dnstls-openssl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolve/resolved-dnstls-openssl.h b/src/resolve/resolved-dnstls-openssl.h index c92d2b2354..c57bc1c57c 100644 --- a/src/resolve/resolved-dnstls-openssl.h +++ b/src/resolve/resolved-dnstls-openssl.h @@ -11,10 +11,12 @@ struct DnsTlsServerData { SSL_CTX *ctx; + SSL_SESSION *session; }; struct DnsTlsStreamData { int handshake; bool shutdown; SSL *ssl; + BUF_MEM *write_buffer; }; |