Thanks for your reply. Could you give me a hint that I can modify the nginx source code to let nginx outputs the original data? <br><br><div><span class="gmail_quote">On 5/9/08, <b class="gmail_sendername">Igor Sysoev</b> <<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
On Fri, May 09, 2008 at 08:55:46AM +0800, san wrote:<br><br> > I have a problem while using nginx to proxy anytermd. anytermd is a simple<br> > web server which always outputs chunked<br> > data. The following is the data that nginx gave to me:<br>
><br> > HTTP/1.1 200 OK<br> > Server: nginx/0.5.36<br> > Date: Fri, 09 May 2008 00:30:37 GMT<br> > Content-Type: text/html<br> > Transfer-Encoding: chunked<br> > Connection: close<br> > Transfer-Encoding: chunked<br>
><br> > 75f<br> > 753<br> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><br> > ......<br> > 0<br> ><br> ><br> > 0<br> ><br> > I saw the doc said that nginx talks http/1.0 to the backend server.How can I<br>
> let the nginx outputing the original data?<br><br><br>It's bug in anytermd. It must not send a chunked response for http/1.0 request:<br> a http/1.0 client does not understand this encoding.<br><br><br><br> --<br>
Igor Sysoev<br> <a href="http://sysoev.ru/en/">http://sysoev.ru/en/</a><br><br></blockquote></div><br>