diff options
author | Roman Arutyunyan <arut@nginx.com> | 2019-03-06 20:46:09 +0300 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2019-03-06 20:46:09 +0300 |
commit | 912fb44e25c6ab2598e36b4544c709b871251b2e (patch) | |
tree | caf4fa7b65ee2324239cb9ee26eda8d8a37ed4e9 /src/core/ngx_inet.h | |
parent | b92e8ffa130366b0181c34f95376a56245cf6414 (diff) |
Listen port ranges.
A range is specified with a dash. For each port in a range a separate listen
socket is created.
Examples:
listen 8080-9000;
listen example.com:80-88;
Diffstat (limited to 'src/core/ngx_inet.h')
-rw-r--r-- | src/core/ngx_inet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ngx_inet.h b/src/core/ngx_inet.h index efb90beef..19050fc75 100644 --- a/src/core/ngx_inet.h +++ b/src/core/ngx_inet.h @@ -86,6 +86,7 @@ typedef struct { in_port_t port; in_port_t default_port; + in_port_t last_port; int family; unsigned listen:1; |