Mercurial > hg > nginx-quic
annotate auto/lib/perl/make @ 4650:b38fea6f9a15
Fixed returned value handling from the cookie rewrite handler.
If the "proxy_cookie_domain" or "proxy_cookie_path" directive is used and there
are no matches in Set-Cookie header then ngx_http_proxy_rewrite_cookie() returns
NGX_DECLINED to indicate that the header was not rewritten. Returning this value
further from the upstream headers copy handler resulted in 500 error response.
See here for report:
http://mailman.nginx.org/pipermail/nginx/2012-May/033858.html
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Wed, 30 May 2012 12:30:03 +0000 |
parents | 3b877a45d343 |
children | 432428be692d |
rev | line source |
---|---|
599 | 1 |
2 # Copyright (C) Igor Sysoev | |
4412 | 3 # Copyright (C) Nginx, Inc. |
599 | 4 |
5 | |
6 cat << END >> $NGX_MAKEFILE | |
7 | |
8 $NGX_OBJS/src/http/modules/perl/blib/arch/auto/nginx/nginx.so: \ | |
9 src/http/modules/perl/nginx.pm \ | |
10 src/http/modules/perl/nginx.xs \ | |
11 src/http/modules/perl/ngx_http_perl_module.h \ | |
12 $NGX_OBJS/src/http/modules/perl/Makefile | |
13 cp -p src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/ | |
14 | |
15 cd $NGX_OBJS/src/http/modules/perl && make | |
16 | |
740
5187a63d9fca
force perl modules reinstallation after rebuilding
Igor Sysoev <igor@sysoev.ru>
parents:
681
diff
changeset
|
17 rm -rf $NGX_OBJS/install_perl |
5187a63d9fca
force perl modules reinstallation after rebuilding
Igor Sysoev <igor@sysoev.ru>
parents:
681
diff
changeset
|
18 |
599 | 19 |
601 | 20 $NGX_OBJS/src/http/modules/perl/Makefile: \ |
21 src/http/modules/perl/Makefile.PL \ | |
22 src/http/modules/perl/nginx.pm | |
599 | 23 cp -p src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/ |
24 cp -p src/http/modules/perl/typemap $NGX_OBJS/src/http/modules/perl/ | |
25 cp -p src/http/modules/perl/Makefile.PL $NGX_OBJS/src/http/modules/perl/ | |
26 | |
27 cd $NGX_OBJS/src/http/modules/perl \ | |
681 | 28 && NGX_PM_CFLAGS="\$(NGX_PM_CFLAGS) -g $NGX_CC_OPT" \ |
599 | 29 NGX_PCRE=$PCRE \ |
30 NGX_OBJS=$NGX_OBJS \ | |
4473
3b877a45d343
Fixed build with embedded perl and --with-openssl.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4412
diff
changeset
|
31 NGX_OPENSSL=$OPENSSL \ |
599 | 32 $NGX_PERL Makefile.PL \ |
948
12077affd903
backout the r945: the nginx.pm could not be loaded at all,
Igor Sysoev <igor@sysoev.ru>
parents:
944
diff
changeset
|
33 LIB=$NGX_PERL_MODULES \ |
950
9581fba9ea12
fix for nginx.pm default installation
Igor Sysoev <igor@sysoev.ru>
parents:
948
diff
changeset
|
34 INSTALLSITEMAN3DIR=$NGX_PERL_MODULES_MAN |
599 | 35 |
36 END |