Mercurial > hg > nginx-quic
annotate auto/lib/perl/make @ 5114:a46c1cfe7263
Allow to reuse connections that wait their first request.
This should improve behavior under deficiency of connections.
Since SSL handshake usually takes significant amount of time,
we exclude connections from reusable queue during this period
to avoid premature flush of them.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Fri, 15 Mar 2013 19:49:54 +0000 |
parents | 3099747ddbb5 |
children | 6dd4875eb526 |
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: \ | |
5070
3099747ddbb5
Configure: rebuild perl module nginx.so if headers are changed.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4945
diff
changeset
|
9 \$(CORE_DEPS) \$(HTTP_DEPS) \ |
599 | 10 src/http/modules/perl/nginx.pm \ |
11 src/http/modules/perl/nginx.xs \ | |
12 src/http/modules/perl/ngx_http_perl_module.h \ | |
13 $NGX_OBJS/src/http/modules/perl/Makefile | |
5070
3099747ddbb5
Configure: rebuild perl module nginx.so if headers are changed.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4945
diff
changeset
|
14 cp src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/ |
599 | 15 |
4841
95ce3172493e
Configure: fixed make macros to use parentheses instead of braces.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4740
diff
changeset
|
16 cd $NGX_OBJS/src/http/modules/perl && \$(MAKE) |
599 | 17 |
740
5187a63d9fca
force perl modules reinstallation after rebuilding
Igor Sysoev <igor@sysoev.ru>
parents:
681
diff
changeset
|
18 rm -rf $NGX_OBJS/install_perl |
5187a63d9fca
force perl modules reinstallation after rebuilding
Igor Sysoev <igor@sysoev.ru>
parents:
681
diff
changeset
|
19 |
599 | 20 |
601 | 21 $NGX_OBJS/src/http/modules/perl/Makefile: \ |
22 src/http/modules/perl/Makefile.PL \ | |
23 src/http/modules/perl/nginx.pm | |
599 | 24 cp -p src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/ |
25 cp -p src/http/modules/perl/typemap $NGX_OBJS/src/http/modules/perl/ | |
26 cp -p src/http/modules/perl/Makefile.PL $NGX_OBJS/src/http/modules/perl/ | |
27 | |
28 cd $NGX_OBJS/src/http/modules/perl \ | |
681 | 29 && NGX_PM_CFLAGS="\$(NGX_PM_CFLAGS) -g $NGX_CC_OPT" \ |
4945
ae3ebf5ac8cd
Fixed build with embedded perl in certain setups (ticket #48).
Ruslan Ermilov <ru@nginx.com>
parents:
4841
diff
changeset
|
30 NGX_INCS="$CORE_INCS $NGX_OBJS $HTTP_INCS" \ |
599 | 31 $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
|
32 LIB=$NGX_PERL_MODULES \ |
950
9581fba9ea12
fix for nginx.pm default installation
Igor Sysoev <igor@sysoev.ru>
parents:
948
diff
changeset
|
33 INSTALLSITEMAN3DIR=$NGX_PERL_MODULES_MAN |
599 | 34 |
35 END |