Mercurial > hg > nginx
comparison src/event/ngx_event_openssl.h @ 7357:548a63b354a2
SSL: support for TLSv1.3 early data with OpenSSL.
In collaboration with Maxim Dounin.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 21 Sep 2018 20:49:12 +0300 |
parents | cab37803ebb3 |
children | 294162223c7c |
comparison
equal
deleted
inserted
replaced
7356:e3ba4026c02d | 7357:548a63b354a2 |
---|---|
85 ngx_connection_handler_pt save_session; | 85 ngx_connection_handler_pt save_session; |
86 | 86 |
87 ngx_event_handler_pt saved_read_handler; | 87 ngx_event_handler_pt saved_read_handler; |
88 ngx_event_handler_pt saved_write_handler; | 88 ngx_event_handler_pt saved_write_handler; |
89 | 89 |
90 u_char early_buf; | |
91 | |
90 unsigned handshaked:1; | 92 unsigned handshaked:1; |
91 unsigned renegotiation:1; | 93 unsigned renegotiation:1; |
92 unsigned buffer:1; | 94 unsigned buffer:1; |
93 unsigned no_wait_shutdown:1; | 95 unsigned no_wait_shutdown:1; |
94 unsigned no_send_shutdown:1; | 96 unsigned no_send_shutdown:1; |
95 unsigned handshake_buffer_set:1; | 97 unsigned handshake_buffer_set:1; |
98 unsigned try_early_data:1; | |
99 unsigned in_early:1; | |
100 unsigned early_preread:1; | |
96 }; | 101 }; |
97 | 102 |
98 | 103 |
99 #define NGX_SSL_NO_SCACHE -2 | 104 #define NGX_SSL_NO_SCACHE -2 |
100 #define NGX_SSL_NONE_SCACHE -3 | 105 #define NGX_SSL_NONE_SCACHE -3 |