Welcome! Log In Create A New Profile

Advanced

How to turn on chunked_transfer_encoding for static files

azure peng
November 16, 2012 11:00PM
Hi, All,
I use nginx 1.2.4
I want to use chunked_transfer_encoding sending to client for static files , but I found the "chunked_transfer_encoding" is not work for static files ( found code in ngx_http_chunked_header_filter() ) , I change the code for call ngx_http_clear_content_length() ) , and the chunked function works .


BUT the nginx send a very big chunk (just equal to file size) , I want set the chunk size to 1MB , how to set it ?_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to turn on chunked_transfer_encoding for static files

azure peng November 16, 2012 11:00PM

Re: How to turn on chunked_transfer_encoding for static files

VBart November 17, 2012 09:32AM

Re:Re: How to turn on chunked_transfer_encoding for static files

azure peng November 18, 2012 04:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 80
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready