Skip to content

Change single write timer to per-send timers [v9.18]

Ondřej Surý requested to merge 3200-add-per-send-timer-v9_18 into v9_18

Previously, there was a single per-socket write timer that would get restarted for every new write. This turned out to be insufficient because the other side could keep reseting the timer, and never reading back the responses.

Change the single write timer to per-send timer which would in turn reset the TCP connection on the first send timeout.

(cherry picked from commit a761aa59)

Closes #3200 (closed)

Edited by Ondřej Surý

Merge request reports