Welcome! Log In Create A New Profile

Advanced

Re: close request

Maxim Dounin
May 24, 2022 01:16PM
Hello!

On Tue, May 24, 2022 at 08:04:16AM -0700, Dk Jack wrote:

> I am noticing this with our modules. Although, we do not do not message
> with any nginx reference counting etc.
> At most, we are sending 403-forbidden for some requests. Could you suggest
> some ways about debugging this?

Request reference counting automatically happens in various nginx
functions, such as ngx_http_read_client_request_body() and
ngx_http_finalize_request(). Incorrect reference counting
suggests that your module does something wrong: for example, calls
ngx_http_finalize_request() when it shouldn't. Or returns an
incorrect result from a handler, which causes
ngx_http_finalize_request() to be called when it shouldn't.

The most straightforward way to debug such problems is to enable
debug logging and check all reference counting step-by-step for a
request which results in the alert.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx-devel mailing list -- nginx-devel@nginx.org
To unsubscribe send an email to nginx-devel-leave@nginx.org
Subject Author Views Posted

close request

dnj0496 254 May 23, 2022 03:26PM

Re: close request

Maxim Dounin 46 May 23, 2022 06:40PM

Re: close request

dnj0496 45 May 24, 2022 11:06AM

Re: close request

Maxim Dounin 52 May 24, 2022 01:16PM

Re: close request

dnj0496 28 August 05, 2022 12:44AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 53
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready