Mercurial > hg > nginx-quic
comparison src/http/v2/ngx_http_v2.c @ 7204:e44c297a6b95
HTTP/2: style.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 15 Feb 2018 02:34:16 +0300 |
parents | 641306096f5b |
children | 3d2b0b02bd3d |
comparison
equal
deleted
inserted
replaced
7203:8b0553239592 | 7204:e44c297a6b95 |
---|---|
3860 r->request_body_in_file_only = 1; | 3860 r->request_body_in_file_only = 1; |
3861 | 3861 |
3862 } else { | 3862 } else { |
3863 if (size > (size_t) (buf->end - buf->last)) { | 3863 if (size > (size_t) (buf->end - buf->last)) { |
3864 ngx_log_error(NGX_LOG_INFO, fc->log, 0, | 3864 ngx_log_error(NGX_LOG_INFO, fc->log, 0, |
3865 "client intended to send body data " | 3865 "client intended to send body data " |
3866 "larger than declared"); | 3866 "larger than declared"); |
3867 | 3867 |
3868 return NGX_HTTP_BAD_REQUEST; | 3868 return NGX_HTTP_BAD_REQUEST; |
3869 } | 3869 } |
3870 | 3870 |
3871 buf->last = ngx_cpymem(buf->last, pos, size); | 3871 buf->last = ngx_cpymem(buf->last, pos, size); |