499 status code

Igor Sysoev is at rambler-co.ru
Tue Nov 6 16:57:15 MSK 2007


On Sun, Nov 04, 2007 at 03:43:17PM +0300, Михаил Монашёв wrote:

> >> Так что насчёт статуса 0? У меня она раз в минуту в лог пишется.
> 
> IS> Это ошибка в nginx'е. Если она так часто воспроизводится и процессор
> IS> позовляет, то можно включить debug на паруо минут и посмотреть.
> 
> Дебаг-лог отправил...

Патч.

Но вообще стоит посмотреть на бэкенд:

upstream sent no valid HTTP/1.0 header while reading response header from upstream, client: 77.241.32.8, server: myfan taziasis.beon.ru, URL: "/p/add_comment.cgi", upstream: "http://127.0.1.8:80/p/add_comment.cgi", host: "myfantaziasis.beon.ru", referrer: "http://myfantaziasis.beon.ru/771-032-infa-ob-oborotnjah.zhtml#last"


-- 
Игорь Сысоев
http://sysoev.ru
-------------- next part --------------
Index: src/http/modules/ngx_http_proxy_module.c
===================================================================
--- src/http/modules/ngx_http_proxy_module.c	(revision 928)
+++ src/http/modules/ngx_http_proxy_module.c	(working copy)
@@ -860,7 +860,8 @@
 #endif
 
         r->http_version = NGX_HTTP_VERSION_9;
-        p->status = NGX_HTTP_OK;
+        u->headers_in.status_n = NGX_HTTP_OK;
+        u->state->status = NGX_HTTP_OK;
 
         return NGX_OK;
     }


More information about the nginx-ru mailing list