mirror of
https://github.com/nginx/nginx.git
synced 2024-12-13 11:09:06 +08:00
repeat r2448 for range deletion
This commit is contained in:
parent
287c22f788
commit
95cff3e9d0
@ -670,7 +670,12 @@ ngx_http_geo_delete_range(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,
|
|||||||
for (n = start; n < end; n += 0x10000) {
|
for (n = start; n < end; n += 0x10000) {
|
||||||
|
|
||||||
h = n >> 16;
|
h = n >> 16;
|
||||||
s = n & 0xffff;
|
|
||||||
|
if (n == start) {
|
||||||
|
s = n & 0xffff;
|
||||||
|
} else {
|
||||||
|
s = 0;
|
||||||
|
}
|
||||||
|
|
||||||
if ((n | 0xffff) > end) {
|
if ((n | 0xffff) > end) {
|
||||||
e = end & 0xffff;
|
e = end & 0xffff;
|
||||||
|
Loading…
Reference in New Issue
Block a user