September 26, 2017 11:40AM
Ok, thanks, I will look into tcpdump. In your opinion, in principle, is what i am attempting feasible?

>In the second case, 30 seconds after the response was sent by nginx, the
>request body still wasn't received and nginx had nothing to do than just
>close the connection.

This suggests to me that although i am attempting to intercept the request header and reject it if there is insufficient space (auth_request) the whole request must be received anyway so if the file is large enough such that 30 seconds isn't enough time to receive it all then the connection will be closed.
Even if i can increase this timeout I really need to find a solution that will protect against the entire file being received unless there is space for it, these files can be up to 10GB in size.

I perhaps need to look again at a 2 stage process to validate the space available (GET) before attempting the upload (POST).

Many thanks
Gary
Subject Author Posted

auth_request called multiple times for same single request

garyc September 25, 2017 07:17AM

Re: auth_request called multiple times for same single request

Valentin V. Bartenev September 25, 2017 03:16PM

Re: auth_request called multiple times for same single request

Valentin V. Bartenev September 25, 2017 03:34PM

Re: auth_request called multiple times for same single request

garyc September 26, 2017 05:07AM

Re: auth_request called multiple times for same single request

Valentin V. Bartenev September 26, 2017 10:20AM

Re: auth_request called multiple times for same single request

garyc September 26, 2017 11:40AM

Re: auth_request called multiple times for same single request

garyc September 27, 2017 05:16AM

Re: auth_request called multiple times for same single request

garyc September 27, 2017 06:57AM

Re: auth_request called multiple times for same single request

Maxim Dounin September 27, 2017 09:32AM

Re: auth_request called multiple times for same single request

garyc September 27, 2017 12:06PM

Re: auth_request called multiple times for same single request

Valentin V. Bartenev September 27, 2017 12:42PM

Re: auth_request called multiple times for same single request

garyc September 28, 2017 04:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 157
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