Hello!
On Mon, Oct 19, 2015 at 11:02:53PM +0100, Steven Hartland wrote:
[...]
> >When the NGX_ERROR case is triggered, no response is returned, the
> >connection is just closed.
> It does seem like the connection to the client is just closed however a 206
> response is logged for the request in
On 19/10/2015 17:59, Maxim Dounin wrote:
Hello!
On Fri, Oct 16, 2015 at 06:15:30PM +0100, Steven Hartland wrote:
On 16/10/2015 13:20, Maxim Dounin wrote:
Hello!
On Fri, Oct 16, 2015 at 02:36:13AM +0100, Steven Hartland wrote:
I'm making changes to a filter module and when it detected an
Hello!
On Fri, Oct 16, 2015 at 06:15:30PM +0100, Steven Hartland wrote:
> On 16/10/2015 13:20, Maxim Dounin wrote:
> >Hello!
> >
> >On Fri, Oct 16, 2015 at 02:36:13AM +0100, Steven Hartland wrote:
> >
> >>I'm making changes to a filter module and when it detected an error it
> >>returned NGX_ERRO
> On 16 Oct 2015, at 15:22, Maxim Dounin wrote:
>
> Hello!
>
> On Fri, Oct 16, 2015 at 03:16:23PM +0300, Roman Arutyunyan wrote:
>
>>> So the question is do filters have to manually call
>>> ngx_http_finalize_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR); or is it
>>> expected that the upper laye
On 16/10/2015 13:20, Maxim Dounin wrote:
Hello!
On Fri, Oct 16, 2015 at 02:36:13AM +0100, Steven Hartland wrote:
I'm making changes to a filter module and when it detected an error it
returned NGX_ERROR however the response generated to the client isn't
the expected 500 internal server error I
After doing some more digging is seems a better manual call would be:
return ngx_http_filter_finalize_request(r, &module,
NGX_HTTP_INTERNAL_SERVER_ERROR);
But it still leaves the question is it ever sensible to allow bad
responses to be returned to the client in the case NGX_ERROR is returned
Hello!
On Fri, Oct 16, 2015 at 03:16:23PM +0300, Roman Arutyunyan wrote:
> > So the question is do filters have to manually call
> > ngx_http_finalize_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR); or is it
> > expected that the upper layers should actually do the right thing and
> > ensure the clie
Hello!
On Fri, Oct 16, 2015 at 02:36:13AM +0100, Steven Hartland wrote:
> I'm making changes to a filter module and when it detected an error it
> returned NGX_ERROR however the response generated to the client isn't
> the expected 500 internal server error I would have expected given said
> retu
Hello Steve,
> On 16 Oct 2015, at 04:36, Steven Hartland
> wrote:
>
> I'm making changes to a filter module
Header filter or body filter?
> and when it detected an error it
> returned NGX_ERROR however the response generated to the client isn't
> the expected 500 internal server error I would
I'm making changes to a filter module and when it detected an error it
returned NGX_ERROR however the response generated to the client isn't
the expected 500 internal server error I would have expected given said
return.
So the question is do filters have to manually call
ngx_http_finalize_reques
10 matches
Mail list logo