mirror of
https://github.com/nginx/nginx.git
synced 2025-01-21 05:43:10 -06:00
omit useless test
This commit is contained in:
parent
711e9031fe
commit
0a0024bdb5
@ -1426,10 +1426,6 @@ ngx_ssl_get_cached_session(ngx_ssl_conn_t *ssl_conn, u_char *id, int len,
|
||||
|
||||
cache = shm_zone->data;
|
||||
|
||||
if (cache->session_rbtree == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
sess = NULL;
|
||||
|
||||
shpool = (ngx_slab_pool_t *) shm_zone->shm.addr;
|
||||
|
Loading…
Reference in New Issue
Block a user