<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div>Hi Wandenberg,</div><div><br></div><div>I was not aware that nginx auto-detects based on the content length. I will comment out the options and check it out.</div><div><br></div><div>Thanks for your response. </div><div><br></div><div>Regards,</div><div>Arun</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Wandenberg Peixoto <<a href="mailto:wandenberg@gmail.com">wandenberg@gmail.com</a>><br><span style="font-weight:bold">Reply-To: </span> <<a href="mailto:nginx@nginx.org">nginx@nginx.org</a>><br><span style="font-weight:bold">Date: </span> Wednesday, November 26, 2014 at 4:20 PM<br><span style="font-weight:bold">To: </span> <<a href="mailto:nginx@nginx.org">nginx@nginx.org</a>><br><span style="font-weight:bold">Subject: </span> Re: Issues with HttpChunkinModule<br></div><div><br></div><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">Hey Arun,<div><br></div><div>as docs says you do not need to compile this module anymore, or even try to set "chunkin on; "</div><div>The nginx core will "detect" when your response does not have a Content-Length set, and will enable the chunk mode automatically.</div><div>Just remove that line from your configuration and be happy :D</div><div><p style="margin:1em 0px 1em 1em;color:rgb(85,85,85);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Arial,Verdana,sans-serif;font-size:14px;line-height:17.2799987792969px;background-color:rgb(240,240,240)">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.</p><p style="margin:1em 0px 1em 1em;color:rgb(85,85,85);font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Arial,Verdana,sans-serif;font-size:14px;line-height:17.2799987792969px;background-color:rgb(240,240,240)">And this module is now only maintained for Nginx versions older than 1.3.9.</p><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 26, 2014 at 7:41 AM, Arun John <span dir="ltr"><<a href="mailto:arujohn@cisco.com" target="_blank">arujohn@cisco.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div style="font-size:14px;font-family:Calibri,sans-serif;color:rgb(0,0,0)">Hi,</div><div style="font-size:14px;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><br></div><div style="font-size:14px;font-family:Calibri,sans-serif;color:rgb(0,0,0)">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</div><div style="font-size:14px;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><br></div><div style="font-size:14px;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><a href="http://wiki.nginx.org/HttpChunkinModule" target="_blank">http://wiki.nginx.org/HttpChunkinModule</a></div><div style="font-size:14px;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><br></div><div style="font-size:14px;font-family:Calibri,sans-serif;color:rgb(0,0,0)">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</div><div style="font-size:14px;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><br></div><div style="font-size:14px;font-family:Calibri,sans-serif"><p style="margin:0px;font-size:11px;font-family:Menlo"><font color="#ff0000">2014/11/26 12:39:03 [emerg] 14634#0: unknown directive "chunkin" in /usr/local/test/etc/nginx/nginx.conf:46</font></p></div><div><p style="font-size:11px;font-family:Menlo;color:rgb(0,0,0);margin:0px"><br></p><p style="color:rgb(0,0,0);margin:0px">Below is my server configuration</p><p style="font-size:11px;font-family:Menlo;color:rgb(0,0,0);margin:0px"><br></p><p style="font-size:11px;font-family:Menlo;margin:0px"><font color="#ff0000">server {</font></p><p style="font-size:11px;font-family:Menlo;margin:0px"><font color="#ff0000">       listen   <a href="http://10.142.54.20:7549" target="_blank">10.142.54.20:7549</a>;</font></p><p style="font-size:11px;font-family:Menlo;margin:0px"><font color="#ff0000">       server_name   test-lnx;</font></p><p style="font-size:11px;font-family:Menlo;margin:0px"><font color="#ff0000">       chunkin on;</font></p><p style="font-size:11px;font-family:Menlo;margin:0px;min-height:13px"><font color="#ff0000"><br></font></p><p style="font-size:11px;font-family:Menlo;margin:0px"><font color="#ff0000">       location /images/ {</font></p><p style="font-size:11px;font-family:Menlo;margin:0px"><font color="#ff0000">         root   /opt;</font></p><p style="font-size:11px;font-family:Menlo;margin:0px;min-height:13px"><font color="#ff0000"><br></font></p><p style="font-size:11px;font-family:Menlo;margin:0px"></p><p style="font-size:11px;font-family:Menlo;margin:0px"><font color="#ff0000">        }</font></p></div><div style="font-size:14px;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><br></div><div style="font-size:14px;font-family:Calibri,sans-serif;color:rgb(0,0,0)">Find below the output for nginx command for –v and –V options.</div><div style="font-size:14px;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><br></div><div style="font-size:14px;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><span style="color:rgb(255,0,0);font-family:Menlo;font-size:11px">[root@test-lnx sbin]# ./nginx -v</span></div><div style="font-size:14px;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><p style="margin:0px;font-size:11px;font-family:Menlo"></p><p style="margin:0px;font-size:11px;font-family:Menlo"><font color="#ff0000">nginx version: nginx/1.4.1</font></p></div><div style="font-size:14px;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><br></div><div><p style="font-family:Menlo;font-size:11px;margin:0px"><font color="#ff0000">[root@test-lnx sbin]# ./nginx -V</font></p><p style="font-family:Menlo;font-size:11px;margin:0px"><font color="#ff0000">nginx version: nginx/1.4.1</font></p><p style="font-family:Menlo;font-size:11px;margin:0px"><font color="#ff0000">built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) </font></p><p style="font-family:Menlo;font-size:11px;margin:0px"><font color="#ff0000">TLS SNI support enabled</font></p><p style="font-family:Menlo;font-size:11px;margin:0px"><font color="#ff0000">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</font></p><p style="font-family:Menlo;font-size:11px;margin:0px"><font color="#ff0000"><br></font></p><p style="font-family:Menlo;font-size:11px;margin:0px"><font color="#ff0000"><br></font></p><p style="margin:0px">Do I need to explicitly any options to use Chunkin module? Is there anything wrong with my configuration. </p><p style="margin:0px"><br></p><p style="margin:0px">Regards,</p><p style="margin:0px">Arun</p><p style="font-family:Menlo;font-size:11px;margin:0px"><font color="#ff0000"><br></font></p><p style="font-family:Menlo;font-size:11px;margin:0px"><br></p></div><div style="font-size:14px;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><br></div></div><br>_______________________________________________<br>
nginx mailing list<br><a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br><a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br></div>
_______________________________________________
nginx mailing list
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a></span></body></html>