buffering / uploading large files

B.R. reallfqq-nginx at yahoo.fr
Mon Feb 2 17:46:44 UTC 2015


http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
---
*B. R.*

On Mon, Feb 2, 2015 at 7:35 AM, nginxuser100 <nginx-forum at nginx.us> wrote:

> Thanks Kurt.
>
> The patch compiled and got installed fine. I no longer get an unknown
> directive error msg. However, the client's POST request of 1.5M of data
> still gives me this error "413 Request Entity Too Large"
>
> even though I added "fastcgi_request_buffering off;"
>
>     location / {
>         include fastcgi_params;
>         fastcgi_request_buffering off;
>         fastcgi_pass   127.0.0.1:9000;
>     }
>
> Here was my test:
> curl -X POST -T testfile -v 'http://localhost:80/'
>
> > POST /testfile HTTP/1.1
> > User-Agent: curl/7.19.7 (i386-redhat-linux-gnu) libcurl/7.19.7
> NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> > Host: localhost
> > Accept: */*
> > Content-Length: 1474560
> > Expect: 100-continue
> >
> < HTTP/1.1 413 Request Entity Too Large
> < Server: nginx/1.7.9
> < Date: Sun, 01 Feb 2015 20:04:25 GMT
> < Content-Type: text/html
> < Content-Length: 198
> < Connection: close
>
> Has anyone tried the fastcgi_request_buffering ... or am I missing
> something? Thanks.
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,256378,256390#msg-256390
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150202/4bf74180/attachment.html>


More information about the nginx mailing list