[PATCH] QUIC: improved SO_COOKIE configure test
Maxim Dounin
mdounin at mdounin.ru
Mon Jan 23 23:59:02 UTC 2023
Hello!
On Mon, Jan 23, 2023 at 04:30:01PM +0400, Roman Arutyunyan wrote:
> On Mon, Jan 23, 2023 at 05:59:17AM +0300, Maxim Dounin wrote:
> > # HG changeset patch
> > # User Maxim Dounin <mdounin at mdounin.ru>
> > # Date 1674441584 -10800
> > # Mon Jan 23 05:39:44 2023 +0300
> > # Branch quic
> > # Node ID 849f3b4043ee07a65bbfc4ad136e4246002ec00c
> > # Parent 6bb884dc72916dc675df65d02abee0c9cfabc916
> > QUIC: improved SO_COOKIE configure test.
> >
> > In nginx source code the inttypes.h include, if available, is used to define
> > standard integer types. Changed the SO_COOKIE configure test to follow this.
> >
> > diff --git a/auto/os/linux b/auto/os/linux
> > --- a/auto/os/linux
> > +++ b/auto/os/linux
> > @@ -263,7 +263,7 @@ ngx_feature="SO_COOKIE"
> > ngx_feature_name="NGX_HAVE_SO_COOKIE"
> > ngx_feature_run=no
> > ngx_feature_incs="#include <sys/socket.h>
> > - #include <stdint.h>"
> > + $NGX_INCLUDE_INTTYPES_H"
> > ngx_feature_path=
> > ngx_feature_libs=
> > ngx_feature_test="socklen_t optlen = sizeof(uint64_t);
> > _______________________________________________
> > nginx-devel mailing list
> > nginx-devel at nginx.org
> > https://mailman.nginx.org/mailman/listinfo/nginx-devel
>
> Looks ok
Thanks for the review, pushed to http://mdounin.ru/hg/nginx-quic.
--
Maxim Dounin
http://mdounin.ru/
More information about the nginx-devel
mailing list