Welcome! Log In Create A New Profile

Advanced

Re: Can response code be 444 in error_page

Maxim Dounin
November 05, 2014 11:08AM
Hello!

On Wed, Nov 05, 2014 at 09:00:30AM -0500, bluekyu wrote:

[...]

> I translated and read the report. I understood the bug is related with only
> error_page 400.
> If this is correct, my example may be inappropriate.
>
> My question was whether the response code of error_page can be 444, or not.
> (In the document, only standard HTTP codes are described.)
> For another example, I want to reject inappropriate accesses such as 497
> error.
>
> error_page 497 =444 @reject_conn;
> location @reject_conn {
> return 444;
> }
>
> I expected that the connection is reset when error 497 occurs, but it was
> waiting.

As 497 is just a special case of 400 (and it is actually changed
to 400 during handling), I suspect it's affected by the same bug.

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Can response code be 444 in error_page

bluekyu November 05, 2014 04:32AM

Re: Can response code be 444 in error_page

Maxim Dounin November 05, 2014 07:50AM

Re: Can response code be 444 in error_page

bluekyu November 05, 2014 09:00AM

Re: Can response code be 444 in error_page

Maxim Dounin November 05, 2014 11:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 230
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready