[PATCH] fix too much loyality in HTTP method parser

Denis F. Latypoff latypoff на yandex.ru
Вт Дек 1 06:10:19 MSK 2009


Патч фиксит вот такое:

[root at 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.

:-)

-- 
br, Denis F. Latypoff.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nginx-0.8.29.method.txt
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20091201/02c43385/attachment.txt>


Подробная информация о списке рассылки nginx-ru