diff options
| author | Vladimir Homutov <vl@nginx.com> | 2021-10-19 12:19:59 +0300 |
|---|---|---|
| committer | Vladimir Homutov <vl@nginx.com> | 2021-10-19 12:19:59 +0300 |
| commit | df472eecc043700275ecae2655206163c786f758 (patch) | |
| tree | eb6a4ced98b3928b9dd0edf59f7b0237b695a221 /src/event | |
| parent | a9f4f25b72c39653795dfb4b1f13b55625fb9fbc (diff) | |
| download | nginx-df472eecc043700275ecae2655206163c786f758.tar.gz nginx-df472eecc043700275ecae2655206163c786f758.tar.bz2 | |
Stream: the "ssl_alpn" directive.
The directive sets the server list of supported application protocols
and requires one of this protocols to be negotiated if client is using
ALPN.
Diffstat (limited to 'src/event')
| -rw-r--r-- | src/event/ngx_event_openssl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/event/ngx_event_openssl.c b/src/event/ngx_event_openssl.c index 52efea3c6..fb0823017 100644 --- a/src/event/ngx_event_openssl.c +++ b/src/event/ngx_event_openssl.c @@ -3134,6 +3134,9 @@ ngx_ssl_connection_error(ngx_connection_t *c, int sslerr, ngx_err_t err, #ifdef SSL_R_CALLBACK_FAILED || n == SSL_R_CALLBACK_FAILED /* 234 */ #endif +#ifdef SSL_R_NO_APPLICATION_PROTOCOL + || n == SSL_R_NO_APPLICATION_PROTOCOL /* 235 */ +#endif || n == SSL_R_UNEXPECTED_MESSAGE /* 244 */ || n == SSL_R_UNEXPECTED_RECORD /* 245 */ || n == SSL_R_UNKNOWN_ALERT_TYPE /* 246 */ |
