Opened 2 years ago

Closed 8 days ago

#905 closed enhancement (fixed)

TIME_WAIT on return 444

Reported by: vladimir.golovin00@… Owned by:
Priority: minor Milestone:
Component: nginx-core Version: 1.9.x
Keywords: 444 linger so_linger Cc:
uname -a:
nginx -V: nginx/1.9.11

Description

Hello

We noticed that when using return 444; the socket is left in TIME_WAIT.
We think it could be a great enhancement to use so_linger on the socket when using 444 so it doesn't stay in time_wait, or eventually make an option for it.

Change History (4)

comment:1 Changed 2 years ago by vladimir.golovin00@…

I mean so_linger with timeout 0 like reset_timedout_connection as it's great to get rid of unwanted users quickly without wasting resources.

comment:2 Changed 2 years ago by maxim

  • Milestone 1.9 deleted

Ticket retargeted after milestone closed

comment:3 Changed 8 days ago by Ruslan Ermilov <ru@…>

In 7313:e45f09198dab/nginx:

Allow resetting connections closed by "return 444" (ticket #905).

If reset_timedout_connection is on, TCP connections closed by
"return 444" will be reset instead of a normal close.

comment:4 Changed 8 days ago by ru

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.