Getting back to this discussion...
Right now we have:
o #define PROXY_WORKER_DISABLED 0x0020
o #define PROXY_WORKER_STOPPED 0x0040
o #define PROXY_WORKER_IN_ERROR 0x0080
o #define PROXY_WORKER_HC_FAIL 0x0400
Are these bit flags part of our API?? Could I, for example,
make PROXY_WORKER_DISABLED == PROXY_WORKER_STOPPED == 0x0060
for example?
A reminder:
o IN_ERROR is when a worker can't be connected to during
the proxying of a request.
o HC_FAIL is when a worker is taken out of rotation during
the health check checks
o There is no difference between DISABLED and STOPPED.
Now can I think of a way to differentiate between the 2
in any situation, or any reason why we would need 2 additional
"stopped" states.