- 17 Nov, 2020 40 commits
-
-
-
-
-
-
-
-
-
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.
-
-
The connection might be ready to read (close) but if we can't destroy it yet, we don't want the callback to trigger all the time or process new data.
-
-
-
-
-
-
-
-
-
Not a problem but causes a slew of calls to upstream_bind_cb that will all fail in the same way.
-
-
-
-
-
-
-
-
-
-
-
-