summaryrefslogtreecommitdiffhomepage
path: root/src/event/ngx_event_openssl.h
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2018-09-21 20:49:12 +0300
committerSergey Kandaurov <pluknet@nginx.com>2018-09-21 20:49:12 +0300
commitab9038af7eaf1ec67ae4ccc357e5c702b9cfc099 (patch)
tree41d69e573e9611f84b8325d98e2f43db2202e968 /src/event/ngx_event_openssl.h
parent61cec6f01bb9d76d617ca13531e5178199e2fe93 (diff)
downloadnginx-ab9038af7eaf1ec67ae4ccc357e5c702b9cfc099.tar.gz
nginx-ab9038af7eaf1ec67ae4ccc357e5c702b9cfc099.tar.bz2
SSL: support for TLSv1.3 early data with OpenSSL.
In collaboration with Maxim Dounin.
Diffstat (limited to 'src/event/ngx_event_openssl.h')
-rw-r--r--src/event/ngx_event_openssl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/event/ngx_event_openssl.h b/src/event/ngx_event_openssl.h
index 159deb7fb..abd84ccf0 100644
--- a/src/event/ngx_event_openssl.h
+++ b/src/event/ngx_event_openssl.h
@@ -87,12 +87,17 @@ struct ngx_ssl_connection_s {
ngx_event_handler_pt saved_read_handler;
ngx_event_handler_pt saved_write_handler;
+ u_char early_buf;
+
unsigned handshaked:1;
unsigned renegotiation:1;
unsigned buffer:1;
unsigned no_wait_shutdown:1;
unsigned no_send_shutdown:1;
unsigned handshake_buffer_set:1;
+ unsigned try_early_data:1;
+ unsigned in_early:1;
+ unsigned early_preread:1;
};