Issues with HttpChunkinModule

Wandenberg Peixoto wandenberg at gmail.com
Wed Nov 26 10:50:53 UTC 2014


Hey Arun,

as docs says you do not need to compile this module anymore, or even try to
set "chunkin on; "
The nginx core will "detect" when your response does not have a
Content-Length set, and will enable the chunk mode automatically.
Just remove that line from your configuration and be happy :D

This module is no longer needed for Nginx 1.3.9+ because since 1.3.9, the
Nginx core already has built-in support for the chunked request bodies.

And this module is now only maintained for Nginx versions older than 1.3.9.


On Wed, Nov 26, 2014 at 7:41 AM, Arun John <arujohn at cisco.com> wrote:

> Hi,
>
> I am trying to set up a nginx server to support chunking. I followed the
> steps mentioned in the below webpage to use the feature
>
> http://wiki.nginx.org/HttpChunkinModule
>
> My nginx version is 1.4.1. According to the above link, I don’t need to
> build chunking module separate as it is already built into the core. But I
> am getting below error in my logs when I start nginx service
>
> 2014/11/26 12:39:03 [emerg] 14634#0: unknown directive "chunkin" in
> /usr/local/test/etc/nginx/nginx.conf:46
>
>
> Below is my server configuration
>
>
> server {
>
>        listen   10.142.54.20:7549;
>
>        server_name   test-lnx;
>
>        chunkin on;
>
>
>        location /images/ {
>
>          root   /opt;
>
>
>         }
>
> Find below the output for nginx command for –v and –V options.
>
> [root at test-lnx sbin]# ./nginx -v
>
> nginx version: nginx/1.4.1
>
> [root at test-lnx sbin]# ./nginx -V
>
> nginx version: nginx/1.4.1
>
> built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)
>
> TLS SNI support enabled
>
> configure arguments: --user=nginx --group=nginx
> --prefix=/usr/local/panorama/nginx --lock-path=/var/lock/subsys/nginx
> --error-log-path=/usr/local/panorama/var/log/nginx/error.log
> --http-log-path=/usr/local/panorama/var/log/nginx/access.log
> --without-http_autoindex_module --without-http_fastcgi_module
> --with-http_ssl_module --without-http_geo_module
> --without-http_empty_gif_module --without-http_ssi_module
> --without-http_userid_module --without-mail_pop3_module
> --without-mail_imap_module --without-mail_smtp_module
> --without-http_uwsgi_module --without-http_scgi_module
> --with-http_realip_module --with-http_gzip_static_module
> --with-http_stub_status_module
>
>
>
> Do I need to explicitly any options to use Chunkin module? Is there
> anything wrong with my configuration.
>
>
> Regards,
>
> Arun
>
>
>
>
>
> _______________________________________________
> 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/20141126/6df97eec/attachment-0001.html>


More information about the nginx mailing list