mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 06:53:10 +00:00
Stream ssl_preread: do not reallocate a parsed SNI host.
We own this memory from the session pool.
This commit is contained in:
parent
504c78fc6d
commit
0fa8434957
1 changed files with 1 additions and 1 deletions
|
|
@ -519,7 +519,7 @@ ngx_stream_ssl_preread_servername(ngx_stream_session_t *s,
|
|||
|
||||
host = *servername;
|
||||
|
||||
rc = ngx_stream_validate_host(&host, c->pool, 1);
|
||||
rc = ngx_stream_validate_host(&host, c->pool, 0);
|
||||
|
||||
if (rc == NGX_ERROR) {
|
||||
return NGX_ERROR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue