Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fix too much loyality in HTTP method parser
On Tue, Dec 01, 2009 at 06:10:19AM +0300, Denis F. Latypoff wrote:
> Патч фиксит вот такое:
>
> [root@c1 c1]# telnet rambler.ru 80
> Trying 81.19.70.3...
> Connected to rambler.ru (81.19.70.3).
> Escape character is '^]'.
> HI_THERE / HTTP/1.0
> Host: rambler.ru
>
> HTTP/1.1 302 Moved Temporarily
> Server: nginx/0.8.28
> Date: Tue, 01 Dec 2009 03:09:30 GMT
> Content-Type: text/html
> Content-Length: 161
> Connection: close
> Location: http://www.rambler.ru/
>
> <html>
> <head><title>302 Found</title></head>
> <body bgcolor="white">
> <center><h1>302 Found</h1></center>
> <hr><center>nginx/0.8.28</center>
> </body>
> </html>
> Connection closed by foreign host.
Тогда nginx не будет поддерживать всякие странные методы при проксировании.
--
Игорь Сысоев
http://sysoev.ru
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|