diff options
Diffstat (limited to 'ssl/quic/quic_local.h')
-rw-r--r-- | ssl/quic/quic_local.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ssl/quic/quic_local.h b/ssl/quic/quic_local.h index a1e84e6854..903e681008 100644 --- a/ssl/quic/quic_local.h +++ b/ssl/quic/quic_local.h @@ -86,11 +86,17 @@ struct quic_conn_st { unsigned int can_poll_net_wbio : 1; /* - * Has the application called SSL_set_accept_state? We do not support this - * but track it here so we can reject a subsequent handshake call. + * This is 1 if we were instantiated using a QUIC server method + * (for future use). */ unsigned int as_server : 1; + /* + * Has the application called SSL_set_accept_state? We require this to be + * congruent with the value of as_server. + */ + unsigned int as_server_state : 1; + /* Are we using thread assisted mode? Never changes after init. */ unsigned int is_thread_assisted : 1; |