true 414 status code

Vladimir Getmanshchuk vladget at gmail.com
Wed Sep 4 09:54:18 UTC 2013


Даже идиотизм типа:

        error_page 414 =414 @414;

        location @414 {
          return 414;
        }
не дал результат - получаю 200

2013/09/04 09:40:10 [info] 5564#0: *45 client sent too long URI while
reading client request line, client: 123.123.123.123, server:
host.example.com, request: "GET
/file.php?qwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwer
2013/09/04 09:40:10 [debug] 5564#0: *45 http finalize request: 414, "?"
a:1, c:1
2013/09/04 09:40:10 [debug] 5564#0: *45 event timer del: 15: 1378287669763
2013/09/04 09:40:10 [debug] 5564#0: *45 http special response: 414, "?"
2013/09/04 09:40:10 [debug] 5564#0: *45 test location: "@414"
2013/09/04 09:40:10 [debug] 5564#0: *45 using location: @414 "?"
2013/09/04 09:40:10 [debug] 5564#0: *45 rewrite phase: 3
2013/09/04 09:40:10 [debug] 5564#0: *45 http finalize request: 414, "?"
a:1, c:2
2013/09/04 09:40:10 [debug] 5564#0: *45 http special response: 414, "?"
2013/09/04 09:40:10 [debug] 5564#0: *45 http set discard body
2013/09/04 09:40:10 [debug] 5564#0: *45 xslt filter header
2013/09/04 09:40:10 [debug] 5564#0: *45 HTTP/1.1
Server: nginx/1.2.9
Date: Wed, 04 Sep 2013 09:40:10 GMT
Content-Type: text/html
Content-Length: 192
Connection: close



2013/9/3 Vladimir Getmanshchuk <vladget at gmail.com>

> Все одно получаю 200й код.
>
>
> 2013/9/2 Валентин Бартенев <vbart at nginx.com>
>
>> On Monday 02 September 2013 16:58:05 Vladimir Getmanshchuk wrote:
>> > Здорово!
>> >
>> > Но не повлияет ли это на производительность?
>> >
>> > Спасибо!
>> >
>>
>> Не повлияет.
>>
>> --
>> Валентин Бартенев
>> http://nginx.org/en/donation.html
>> _______________________________________________
>> nginx-ru mailing list
>> nginx-ru at nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx-ru
>>
>
>
>
> --
> Yours sincerely,
> Vladimir Getmanshchuk
>



-- 
Yours sincerely,
Vladimir Getmanshchuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-ru/attachments/20130904/c534e739/attachment.html>


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