Skip to content

Commit b0d043c

Browse files
committed
feat(sys): detect more ngx_feature flags
1 parent b70b637 commit b0d043c

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

nginx-sys/build/main.rs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,36 +17,53 @@ const ENV_VARS_TRIGGERING_RECOMPILE: &[&str] = &["OUT_DIR", "NGINX_BUILD_DIR", "
1717
/// `DEP_NGINX_FEATURES` environment variable.
1818
/// The list of recognized values will be exported as `DEP_NGINX_FEATURES_CHECK`.
1919
const NGX_CONF_FEATURES: &[&str] = &[
20+
"api",
2021
"compat",
2122
"debug",
23+
"have_devpoll",
24+
"have_epollexclusive",
2225
"have_epollrdhup",
26+
"have_eventfd",
27+
"have_eventport",
2328
"have_file_aio",
29+
"have_inet6",
30+
"have_iocp",
2431
"have_kqueue",
2532
"have_memalign",
33+
"have_openat",
34+
"have_poll",
2635
"have_posix_memalign",
2736
"have_sched_yield",
37+
"have_sendfile",
38+
"have_unix_domain",
2839
"have_variadic_macros",
2940
"http",
3041
"http_cache",
3142
"http_dav",
3243
"http_gzip",
44+
"http_headers",
3345
"http_realip",
3446
"http_ssi",
3547
"http_ssl",
48+
"http_upstream_sid",
49+
"http_upstream_sticky",
3650
"http_upstream_zone",
3751
"http_v2",
3852
"http_v3",
3953
"http_x_forwarded_for",
4054
"mail",
4155
"mail_ssl",
56+
"openssl",
4257
"pcre",
4358
"pcre2",
4459
"quic",
4560
"ssl",
61+
"stat_stub",
4662
"stream",
4763
"stream_ssl",
4864
"stream_upstream_zone",
4965
"threads",
66+
"zone_sync",
5067
];
5168

5269
/// The operating systems supported by the nginx configuration script

0 commit comments

Comments
 (0)