Mercurial > hg > nginx-quic
annotate src/http/modules/perl/Makefile.PL @ 5110:0bbdd966a383
Request body: next upstream fix.
After introduction of chunked request body handling in 1.3.9 (r4931),
r->request_body->bufs buffers have b->start pointing to original buffer
start (and b->pos pointing to real data of this particular buffer).
While this is ok as per se, it caused bad things (usually original request
headers included before the request body) after reinit of the request
chain in ngx_http_upstream_reinit() while sending the request to a next
upstream server (which used to do b->pos = b->start for each buffer
in the request chain).
Patch by Piotr Sikora.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 14 Mar 2013 12:28:53 +0000 |
parents | ae3ebf5ac8cd |
children | 482fda984556 |
rev | line source |
---|---|
599 | 1 |
2 # Copyright (C) Igor Sysoev | |
4412 | 3 # Copyright (C) Nginx, Inc. |
599 | 4 |
5 use 5.006001; | |
6 use ExtUtils::MakeMaker; | |
7 | |
8 WriteMakefile( | |
9 NAME => 'nginx', | |
10 VERSION_FROM => 'nginx.pm', # finds $VERSION | |
11 PREREQ_PM => {}, # e.g., Module::Name => 1.1 | |
12 | |
13 ABSTRACT_FROM => 'nginx.pm', # retrieve abstract from module | |
14 AUTHOR => 'Igor Sysoev', | |
15 | |
681 | 16 CCFLAGS => "$ENV{NGX_PM_CFLAGS}", |
619 | 17 OPTIMIZE => '-O', |
599 | 18 |
4945
ae3ebf5ac8cd
Fixed build with embedded perl in certain setups (ticket #48).
Ruslan Ermilov <ru@nginx.com>
parents:
4473
diff
changeset
|
19 INC => join(" ", map { |
ae3ebf5ac8cd
Fixed build with embedded perl in certain setups (ticket #48).
Ruslan Ermilov <ru@nginx.com>
parents:
4473
diff
changeset
|
20 m#^/# ? "-I $_" : "-I ../../../../../$_" |
ae3ebf5ac8cd
Fixed build with embedded perl in certain setups (ticket #48).
Ruslan Ermilov <ru@nginx.com>
parents:
4473
diff
changeset
|
21 } (split /\s+/, $ENV{NGX_INCS})), |
599 | 22 |
23 depend => { | |
24 'nginx.c' => | |
25 "../../../../../src/http/modules/perl/ngx_http_perl_module.h" | |
26 }, | |
27 | |
28 PM => { | |
29 'nginx.pm' => '$(INST_LIBDIR)/nginx.pm' | |
30 } | |
31 ); |