diff --git a/.travis.yml b/.travis.yml index a3dec3b7..a3ad9fb8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,8 +44,8 @@ env: - TEST_NGINX_SLEEP=0.006 matrix: #- NGINX_VERSION=1.21.4 OPENSSL_VER=1.1.12 - - NGINX_VERSION=1.25.1 OPENSSL_VER=1.1.1w - - NGINX_VERSION=1.25.1 OPENSSL_VER=1.1.1w USE_PCRE2=Y + - NGINX_VERSION=1.25.3 OPENSSL_VER=1.1.1w + - NGINX_VERSION=1.25.3 OPENSSL_VER=1.1.1w USE_PCRE2=Y services: - memcache diff --git a/src/ngx_stream_lua_shdict.c b/src/ngx_stream_lua_shdict.c index 7be30e34..9f7f61bc 100644 --- a/src/ngx_stream_lua_shdict.c +++ b/src/ngx_stream_lua_shdict.c @@ -225,7 +225,7 @@ ngx_stream_lua_shdict_lookup(ngx_shm_zone_t *shm_zone, ngx_uint_t hash, dd("time to live: %lld", (long long) ms); - if (ms < 0) { + if (ms <= 0) { dd("node already expired"); return NGX_DONE; }