shutdown_lifetime setting behavior does not match doc
Bug #685201 reported by
AlainKnaff
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
squid (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: squid
When shutting down squid, squid waits for 30 seconds (shutdown_lifetime setting) even if no active client is present, however, the doc says it would.
Moreover the doc says that this also applies to SIGHUP, but (fortunately...) it doesn't.
Proposed fix:
1. Change the code to only wait if there are indeed clients connected. If last client disconnected before wait time is up, exit at that point.
2. Change doc to say " When SIGTERM is received, the cache is put into..." rather than "When SIGTERM or SIGHUP is received..."
Changed in squid (Ubuntu): | |
status: | Incomplete → Confirmed |
To post a comment you must log in.
Which version is this with?
chuck