diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-08-06 15:38:08 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2007-08-06 15:38:08 +0000 |
| commit | 03afa34c9601f115336e398da20d434c90930cb8 (patch) | |
| tree | cc9b31390fb760c2c243d646b15c8ecb5f9c9d7f | |
| parent | 832571f0fc6c94471d55f3a73e5fa154d0bd2b1c (diff) | |
| download | nginx-03afa34c9601f115336e398da20d434c90930cb8.tar.gz nginx-03afa34c9601f115336e398da20d434c90930cb8.tar.bz2 | |
$r->discard_request_body
| -rw-r--r-- | src/http/modules/perl/nginx.xs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs index dd01f3b3c..f9355b674 100644 --- a/src/http/modules/perl/nginx.xs +++ b/src/http/modules/perl/nginx.xs @@ -425,6 +425,17 @@ request_body_file(r) void +discard_request_body(r) + CODE: + + ngx_http_request_t *r; + + ngx_http_perl_set_request(r); + + ngx_http_discard_request_body(r); + + +void header_out(r, key, value) CODE: |
