]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: proto: rename TID affinity callbacks
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 11 Jul 2024 09:32:29 +0000 (11:32 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 11 Jul 2024 13:14:06 +0000 (15:14 +0200)
commit9fbe8b03346a98cc8cc7b47eaa68935b1d4b3916
treeb74d5caa5d4d70c5cb83bc5272d7da7298fa54ba
parent2cb5b7dca688e59146256833153ad700302004ba
CLEANUP: proto: rename TID affinity callbacks

Since the following patch, protocol API to update a connection TID
affinity has been extended.
  commit 1a43b9f32c71267e3cb514aa70a13c75adb20742
  MINOR: proto: extend connection thread rebind API

The single callback set_affinity has been splitted in 3 different
functions which are called at different stages during listener_accept(),
depending on accept queue push success or not. However, the naming was
rendered confusing by the usage of function prefix 1 and 2.

Rename proto callback related to TID affinity update and use the
following names :

* bind_tid_prep
* bind_tid_commit
* bind_tid_reset

This commit should probably be backported at least up to 3.0 with the
above patch. This is because the fix was recently backported and it
would allow to keep changes minimal between the two versions. It could
even be backported up to 2.8 if there is no major conflict.
include/haproxy/proto_rhttp.h
include/haproxy/protocol-t.h
src/listener.c
src/proto_quic.c
src/proto_rhttp.c