Opened 9 years ago
Closed 9 years ago
#1032 closed defect (fixed)
1.11.3 doesn't build if built with stream support, but without streaming SSL support
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | trivial | Milestone: | |
| Component: | other | Version: | 1.11.x |
| Keywords: | Cc: | ||
| uname -a: | Build problem, on CentOS6/7, Fedora 22/23/24 | ||
| nginx -V: | 1.11.2 & 1.11.3 | ||
Description
I built 1.11.3 using a spec file that worked with 1.11.2. However, it failed with
src/stream/ngx_stream_proxy_module.c: In function 'ngx_stream_proxy_handler':
src/stream/ngx_stream_proxy_module.c:542:6: error: 'ngx_stream_upstream_t {aka struct <anonymous>}' has no member named 'ssl_name'
u->ssl_name = uscf->host;
I added --with-stream_ssl_module to the configure call, and successfully rebuilt it.
Line 541 is #if (NGX_HTTP_SSL), should probably be #if (NGX_STREAM_SSL)
Failed build log: https://copr-be.cloud.fedoraproject.org/results/kyl191/nginx-mainline/fedora-24-i386/00422523-nginx-mainline/build.log.gz
Successful build log: https://copr-be.cloud.fedoraproject.org/results/kyl191/nginx-mainline/fedora-24-i386/00422568-nginx-mainline/build.log.gz
Diff of RPM spec file: https://github.com/kyl191/nginx-mainline/commit/bc9707f3b8154b34f0f4d714ddcd45fccd4dc06f
Change History (3)
comment:1 by , 9 years ago
| Status: | new → accepted |
|---|
comment:2 by , 9 years ago
comment:3 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |

In 6648:d43ee392e825/nginx: