- 17 Nov, 2020 40 commits
-
-
-
If we can't find an upstream, we keep the client around, so it needs to be unblocked.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Potentially for timeout detection purposes in the future.
-
-
We reset the connection pointer on a destruction attempt, avoid the spurious asserts.
-
Do not log when receiving the last bytes on a connection. Log failed writes.
-
-
-
-
Several threads calling backend_select might reset current_backend to a different place, there are two options to deal with that: - just let the last rotation win (the current approach) - detect whether first == current_backend and only replace then Not sure which one is more useful, going with the simpler.
-
-
This alone doesn't make the server do a round robin.
-
There was still a race where the connection could be freed as the operation was still being used.
-