diff src/http/modules/perl/nginx.xs @ 1371:7dbdf47cdcba

$r->discard_request_body
author Igor Sysoev <igor@sysoev.ru>
date Mon, 06 Aug 2007 15:38:08 +0000
parents a77f6980de50
children 2cc9b6651f75
line wrap: on
line diff
--- 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: