]> git.kaiwu.me - nginx.git/commit
Fixed port ranges support in the listen directive.
authorValentin Bartenev <vbart@wbsrv.ru>
Sun, 18 Dec 2022 18:29:02 +0000 (21:29 +0300)
committerValentin Bartenev <vbart@wbsrv.ru>
Sun, 18 Dec 2022 18:29:02 +0000 (21:29 +0300)
commit641368249c319a833a7d9c4256cd9fd1b3e29a39
tree25c46a0634d8c35f0e039c057797e21f30c0a260
parent95133893f9821fd08619d5d2af71ea2c3345f095
Fixed port ranges support in the listen directive.

Ports difference must be respected when checking addresses for duplicates,
otherwise configurations like this are broken:

  listen 127.0.0.1:6000-6005

It was broken by 4cc2bfeff46c (nginx 1.23.3).
src/http/ngx_http_core_module.c
src/mail/ngx_mail_core_module.c
src/stream/ngx_stream_core_module.c