[nginx-announce] nginx-1.13.0

Roman Arutyunyan arut at nginx.com
Tue Apr 25 17:32:49 UTC 2017


Hi,

Please try the patch.

On Tue, Apr 25, 2017 at 11:41:10AM -0400, Kevin Worthington wrote:
> Hello!
> 
> Getting a make error on 32-bit and 64-bit Cygwin:
> 
>         -o objs/src/os/unix/ngx_writev_chain.o \
>         src/os/unix/ngx_writev_chain.c
> cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g
> -D FD_
> SETSIZE=2048 -I src/core -I src/event -I src/event/modules -I src/os/unix
> -I /us
> r/include/libxml2 -I objs \
>         -o objs/src/os/unix/ngx_udp_send.o \
>         src/os/unix/ngx_udp_send.c
> cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g
> -D FD_
> SETSIZE=2048 -I src/core -I src/event -I src/event/modules -I src/os/unix
> -I /us
> r/include/libxml2 -I objs \
>         -o objs/src/os/unix/ngx_udp_sendmsg_chain.o \
>         src/os/unix/ngx_udp_sendmsg_chain.c
> src/os/unix/ngx_udp_sendmsg_chain.c: In function `ngx_sendmsg':
> src/os/unix/ngx_udp_sendmsg_chain.c:274:16: error: `struct in_pktinfo' has
> no me
> mber named `ipi_spec_dst'
>              pkt->ipi_spec_dst = sin->sin_addr;
>                 ^
> objs/Makefile:847: recipe for target
> 'objs/src/os/unix/ngx_udp_sendmsg_chain.o'
> failed
> make[1]: *** [objs/src/os/unix/ngx_udp_sendmsg_chain.o] Error 1
> make[1]: Leaving directory '/home/kevin.worthington/nginx-1.13.0'
> Makefile:8: recipe for target 'build' failed
> make: *** [build] Error 2
> 
> Any tips to fix this? Thank you for reading.
> 
> Best regards,
> Kevin
> --
> Kevin Worthington
> kworthington ( at ) gmail {dot} com
> https://kevinworthington.com/
> https://twitter.com/kworthington
> 
> On Tue, Apr 25, 2017 at 10:32 AM, Maxim Dounin <mdounin at mdounin.ru> wrote:
> 
> > Changes with nginx 1.13.0                                        25 Apr
> > 2017
> >
> >     *) Change: SSL renegotiation is now allowed on backend connections.
> >
> >     *) Feature: the "rcvbuf" and "sndbuf" parameters of the "listen"
> >        directives of the mail proxy and stream modules.
> >
> >     *) Feature: the "return" and "error_page" directives can now be used to
> >        return 308 redirections.
> >        Thanks to Simon Leblanc.
> >
> >     *) Feature: the "TLSv1.3" parameter of the "ssl_protocols" directive.
> >
> >     *) Feature: when logging signals nginx now logs PID of the process
> > which
> >        sent the signal.
> >
> >     *) Bugfix: in memory allocation error handling.
> >
> >     *) Bugfix: if a server in the stream module listened on a wildcard
> >        address, the source address of a response UDP datagram could differ
> >        from the original datagram destination address.
> >
> >
> > --
> > Maxim Dounin
> > http://nginx.org/
> > _______________________________________________
> > nginx-announce mailing list
> > nginx-announce at nginx.org
> > http://mailman.nginx.org/mailman/listinfo/nginx-announce
> >

> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx


-- 
Roman Arutyunyan
-------------- next part --------------
# HG changeset patch
# User Roman Arutyunyan <arut at nginx.com>
# Date 1493141521 -10800
#      Tue Apr 25 20:32:01 2017 +0300
# Node ID 0d643aae8f445c75054d1bd13c16eb59534bb953
# Parent  201038680680b05ac435191ab2b8ceb5d6785ccf
Configure: disable IP_PKTINFO feature on Cygwin.

On this platform struct in_pktinfo has no field ipi_spec_dst.  Now presence of
this field is checked while configuring nginx.

diff --git a/auto/unix b/auto/unix
--- a/auto/unix
+++ b/auto/unix
@@ -416,7 +416,10 @@ ngx_feature_incs="#include <sys/socket.h
                   #include <netinet/in.h>"
 ngx_feature_path=
 ngx_feature_libs=
-ngx_feature_test="setsockopt(0, IPPROTO_IP, IP_PKTINFO, NULL, 0)"
+ngx_feature_test="struct in_pktinfo  pkt;
+                  pkt.ipi_spec_dst.s_addr = INADDR_ANY;
+                  (void) pkt;
+                  setsockopt(0, IPPROTO_IP, IP_PKTINFO, NULL, 0)"
 . auto/feature
 
 


More information about the nginx mailing list