Mercurial > hg > nginx
comparison src/event/ngx_event_openssl.c @ 9078:0f4f781e57c1 quic
QUIC: using ngx_ssl_handshake_log().
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 23 Feb 2023 16:17:29 +0400 |
parents | 91ad1abfb285 |
children | 0af598651e33 |
comparison
equal
deleted
inserted
replaced
9077:cb7dc35ed428 | 9078:0f4f781e57c1 |
---|---|
31 static int ngx_ssl_new_client_session(ngx_ssl_conn_t *ssl_conn, | 31 static int ngx_ssl_new_client_session(ngx_ssl_conn_t *ssl_conn, |
32 ngx_ssl_session_t *sess); | 32 ngx_ssl_session_t *sess); |
33 #ifdef SSL_READ_EARLY_DATA_SUCCESS | 33 #ifdef SSL_READ_EARLY_DATA_SUCCESS |
34 static ngx_int_t ngx_ssl_try_early_data(ngx_connection_t *c); | 34 static ngx_int_t ngx_ssl_try_early_data(ngx_connection_t *c); |
35 #endif | 35 #endif |
36 #if (NGX_DEBUG) | |
37 static void ngx_ssl_handshake_log(ngx_connection_t *c); | |
38 #endif | |
39 static void ngx_ssl_handshake_handler(ngx_event_t *ev); | 36 static void ngx_ssl_handshake_handler(ngx_event_t *ev); |
40 #ifdef SSL_READ_EARLY_DATA_SUCCESS | 37 #ifdef SSL_READ_EARLY_DATA_SUCCESS |
41 static ssize_t ngx_ssl_recv_early(ngx_connection_t *c, u_char *buf, | 38 static ssize_t ngx_ssl_recv_early(ngx_connection_t *c, u_char *buf, |
42 size_t size); | 39 size_t size); |
43 #endif | 40 #endif |
2050 #endif | 2047 #endif |
2051 | 2048 |
2052 | 2049 |
2053 #if (NGX_DEBUG) | 2050 #if (NGX_DEBUG) |
2054 | 2051 |
2055 static void | 2052 void |
2056 ngx_ssl_handshake_log(ngx_connection_t *c) | 2053 ngx_ssl_handshake_log(ngx_connection_t *c) |
2057 { | 2054 { |
2058 char buf[129], *s, *d; | 2055 char buf[129], *s, *d; |
2059 #if OPENSSL_VERSION_NUMBER >= 0x10000000L | 2056 #if OPENSSL_VERSION_NUMBER >= 0x10000000L |
2060 const | 2057 const |