mirror of
https://github.com/nginx/nginx.git
synced 2026-09-03 20:12:29 +00:00
Stream ssl_preread: relaxed SSL version check.
SSL version 3.0 can be specified by the client at the record level for compatibility reasons. Previously, ssl_preread module rejected such connections, presuming they don't have SNI. Now SSL 3.0 is allowed at the record level.
This commit is contained in:
parent
853c208fc9
commit
393636d79c
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ ngx_stream_ssl_preread_handler(ngx_stream_session_t *s)
|
|||
return NGX_DECLINED;
|
||||
}
|
||||
|
||||
if (p[1] != 3 || p[2] == 0) {
|
||||
if (p[1] != 3) {
|
||||
ngx_log_debug0(NGX_LOG_DEBUG_STREAM, ctx->log, 0,
|
||||
"ssl preread: unsupported SSL version");
|
||||
return NGX_DECLINED;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue