Keep Alive Bug

Kirill A. Korinskiy catap at catap.ru
Wed Nov 3 15:57:16 MSK 2010


Nginx don't support chunked response from buckend.

On Wed, Nov 3, 2010 at 15:47, SplitIce <mat999 at gmail.com> wrote:

> 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.
>
> The output I get is like:
>
> ,{"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*v޼l-��\ 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�;�!�%
>
>
>
> The first is the JSON output of a shoutbox currently requesting on that
> page, the second portion is the real page.
>
> 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.
>
> --
> Warez Scene <http://thewarezscene.org> Free Rapidshare Downloads<http://www.nexusddl.com>
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
>


-- 
wbr, Kirill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20101103/26726d75/attachment-0001.html>


More information about the nginx mailing list