haproxy/include
William Lallemand a719926cf8 MEDIUM: jobs: support unstoppable jobs for soft stop
This patch allows a process to properly quit when some jobs are still
active, this feature is handled by the unstoppable_jobs variable, which
must be atomically incremented.

During each new iteration of run_poll_loop() the break condition of the
loop is now (jobs - unstoppable_jobs) == 0.

The unique usage of this at the moment is to handle the socketpair CLI
of a the worker during the stopping of the process.  During the soft
stop, we could mark the CLI listener as an unstoppable job and still
handle new connections till every other jobs are stopped.
2018-11-16 17:05:40 +01:00
..
common MINOR: http: Implement "early-hint" http request rules. 2018-11-12 21:08:55 +01:00
import BUILD: threads/plock: fix a build issue on Clang without optimization 2017-11-20 21:06:35 +01:00
proto MINOR: log: report the number of dropped logs in the stats 2018-11-12 18:37:55 +01:00
types MEDIUM: jobs: support unstoppable jobs for soft stop 2018-11-16 17:05:40 +01:00