#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
static void ngx_http_read_client_request_body_handler(ngx_http_request_t *r);
static ngx_int_t ngx_http_do_read_client_request_body(ngx_http_request_t *r);
static ngx_int_t ngx_http_copy_pipelined_header(ngx_http_request_t *r,
ngx_buf_t *buf);
static ngx_int_t ngx_http_write_request_body(ngx_http_request_t *r);
static ngx_int_t ngx_http_read_discarded_request_body(ngx_http_request_t *r);
static ngx_int_t ngx_http_discard_request_body_filter(ngx_http_request_t *r,
ngx_buf_t *b);
static ngx_int_t ngx_http_test_expect(ngx_http_request_t *r);
static ngx_int_t ngx_http_request_body_filter(ngx_http_request_t *r,
ngx_chain_t *in);
static ngx_int_t ngx_http_request_body_length_filter(ngx_http_request_t *r,
ngx_chain_t *in);
static ngx_int_t ngx_http_request_body_chunked_filter(ngx_http_request_t *r,
ngx_chain_t *in);
ngx_int_t
ngx_http_read_client_request_body(ngx_http_request_t *r,
ngx_http_client_body_handler_pt post_handler)
{ … }
ngx_int_t
ngx_http_read_unbuffered_request_body(ngx_http_request_t *r)
{ … }
static void
ngx_http_read_client_request_body_handler(ngx_http_request_t *r)
{ … }
static ngx_int_t
ngx_http_do_read_client_request_body(ngx_http_request_t *r)
{ … }
static ngx_int_t
ngx_http_copy_pipelined_header(ngx_http_request_t *r, ngx_buf_t *buf)
{ … }
static ngx_int_t
ngx_http_write_request_body(ngx_http_request_t *r)
{ … }
ngx_int_t
ngx_http_discard_request_body(ngx_http_request_t *r)
{ … }
void
ngx_http_discarded_request_body_handler(ngx_http_request_t *r)
{ … }
static ngx_int_t
ngx_http_read_discarded_request_body(ngx_http_request_t *r)
{ … }
static ngx_int_t
ngx_http_discard_request_body_filter(ngx_http_request_t *r, ngx_buf_t *b)
{ … }
static ngx_int_t
ngx_http_test_expect(ngx_http_request_t *r)
{ … }
static ngx_int_t
ngx_http_request_body_filter(ngx_http_request_t *r, ngx_chain_t *in)
{ … }
static ngx_int_t
ngx_http_request_body_length_filter(ngx_http_request_t *r, ngx_chain_t *in)
{ … }
static ngx_int_t
ngx_http_request_body_chunked_filter(ngx_http_request_t *r, ngx_chain_t *in)
{ … }
ngx_int_t
ngx_http_request_body_save_filter(ngx_http_request_t *r, ngx_chain_t *in)
{ … }