Open mpstefan opened 5 months ago
None of these timeouts are packet based. They are all TCP connections, or HTTP request/response timeouts, and LB selection timeouts. For further review, read the actual text of the Directives that you linked to. There is no need for NJS, Nginx core does this by default.
Background:
NGINX provide the following directives for timeouts:
All of these timeouts are based on packet transfer to the upstream instead of the individual requests. As such, we will need to create an NJS module to support a "true" HTTP timeout that will time out individual requests based on the request itself instead of measuring when a packet was last received from the upstream for any request.