its not chunked and I believe I found the problem, the first request was a few bytes out on its Content-Length, nginx should stop reading input once this is reached and this would prevent any weird bugs from happening again.<br>
<br><div class="gmail_quote">On Wed, Nov 3, 2010 at 11:57 PM, Kirill A. Korinskiy <span dir="ltr"><<a href="mailto:catap@catap.ru">catap@catap.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Nginx don't support chunked response from buckend.<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Nov 3, 2010 at 15:47, SplitIce <span dir="ltr"><<a href="mailto:mat999@gmail.com" target="_blank">mat999@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">With keep alive enabled I regularly get issues where requests are combined, it seems to depend on the status of a background XMLHTTP request as to whether or not they will be combined.<br>
<br>The output I get is like:<br><pre>,{"id":147,"user":{"username":"dursun123123","sitename":"The Warez Scene","profile_url":"#"},"message":"HELLO","time":1288710293},{"id":148,"user":{"username":"hacker3w0rlds","sitename":"The Warez Scene","profile_url":"#"},"message":"hello all","time":1288710537},{"id":149,"user":{"username":"shootie","sitename":"The Warez Scene","profile_url":"#"},"message":"ham","time":1288724254},{"id":150,"user":{"username":"Anonymous","sitename":"The Warez Scene","profile_url":"#"},"message":"superfly1972","time":1288725995},{"id":151,"user":{"username":"dursun123123","sitename":"The Warez Scene","profile_url":"#"},"message":"HELLO","time":1288728745},{"id":152,"user":{"username":"Anonymous","sitename":"The Warez Scene","profile_url":"#"},"message":"madsen","time":1288730813},{"id":153,"user":{"username":"Anonymous","sitename":"The Warez Scene","profile_url":"#"},"message":"RILEY RILEY","time":1288734307},{"id":154,"user":{"username":"Anonymous","sitename":"The Warez Scene","profile_url":"#"},"message":"WalterBosque-art.com","time":1288740171},{"id":155,"user":{"username":"Anonymous","sitename":"The Warez Scene","profile_url":"#"},"message":"what up","time":1288744021},{"id":156,"user":{"username":"Anonymous","sitename":"The Warez Scene","profile_url":"#"},"message":"whats the best jenna presley scene???","time":1288744066},{"id":157,"user":{"username":"Anonymous","sitename":"The Warez Scene","profile_url":"#"},"message":":D","time":1288763786},{"id":158,"user":{"username":"Anonymous","sitename":"TWS","profile_url":""},"message":"drive mender","time":1288782574},{"id":159,"user":{"username":"Anonymous","sitename":"TWS","profile_url":""},"message":"forensic","time":1288783532}]HTTP/1.1 200 OK
Server: nginx/0.8.52
Date: Wed, 03 Nov 2010 12:45:29 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/5.3.3-0.dotdeb.1
Cache-Control: private, no-cache="set-cookie"
Expires: 0
Pragma: no-cache
Content-Encoding: gzip
40b9
� ������ �{s�ȱ��O�� X�&�� ��K��%˖�d�X��9��jH�$D ��!��I��4��Or = �%�K�N��M6���A�LOO�����w/� ]���5�Ǟu���ɛ#�P,�>ՎJ� /� __��X�ݲu *?rc7�W*�|[�
�8��J777�7�� �.ޗn VE>N -� _�ڱ]8��=�=ގ=?�_ ���t�� �v�� � �S�`����A�`����
�Q6?�gc'VL*� �� �z�� ����b<�8 +�k� ;�qI����
U 9�����b�`�> '���� Z/�~�k w� �#Ig��[wL�8 �� ����RW� ;�Љ�$�� � �18X��Fq�v Y� � /�*/m� k��c��a�( OT�v��        �y��r�x*vl-��\ d���_8 ����ч ���;�i :� 1�C�F��]�s|G�V_]��|��,�۸���%2 �hk��P g�Ѵ��x        Oǡ�X��ĵ#(б^ 7� ([S�җ� �Bw��H C��$��� U֞�!�s�v ���� ���꽡���M J�3
��n��WcG ������X�5�r���E?� k�T2�9�$ ����ڎ �X`�X (9���ڕ��
� ~s�A0�'�x"�ů�P�F|섮�7&1p� k �}W0��� _
�p�0I�;�!�%</pre><br><br>The first is the JSON output of a shoutbox currently requesting on that page, the second portion is the real page.<br><br>With keepalive disabled this does not occur. Data is being fetched via proxy_pass to remote host. Shoutbox is using POST requests ever 10 seconds.<br clear="all">
<font color="#888888">
<br>-- <br><a href="http://thewarezscene.org" target="_blank">Warez Scene</a> <a href="http://www.nexusddl.com" target="_blank">Free Rapidshare Downloads</a><br><br>
</font><br></div></div>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
<br></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br><div>wbr, Kirill</div><br>
</font><br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://thewarezscene.org" target="_blank">Warez Scene</a> <a href="http://www.nexusddl.com" target="_blank">Free Rapidshare Downloads</a><br><br>