]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: servers: Don't forget to set srv_hash when needed
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 20 May 2026 11:05:05 +0000 (13:05 +0200)
committerOlivier Houchard <cognet@ci0.org>
Wed, 20 May 2026 10:32:19 +0000 (12:32 +0200)
commit05e65489cbc6a9b58b6f66ba47731ceab38fb815
tree16b2aaef421b075eaf03a2c0866036f6b6793087
parentb9acb4415f36a109523e3af4925dfa3589d376ed
BUG/MEDIUM: servers: Don't forget to set srv_hash when needed

Commit 8aa854ab26a7daa613a17548f1fe1d0adb8cf61b made it so we'd store
the hash corresponding to the server parameters, so that we could detect
if we're still talking to the same server, and not use those parameters
if not.
However, when updating those parameters, we forgot to store the new
hash, which would result in the new parameters never be used, and
breakling 0RTT.
Fix that by properly update the hash when needed.
This should be backported when 8aa854ab26a7daa613a17548f1fe1d0adb8cf61b
is backported.
src/ssl_sock.c