]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DOC: ssl: add some comments about the non-obvious session allocation stuff
authorWilly Tarreau <w@1wt.eu>
Mon, 21 Aug 2023 09:17:10 +0000 (11:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Aug 2023 09:43:06 +0000 (11:43 +0200)
commitbc31ef08964dad1a1de0d7c2c283861dcfdc167b
tree770cfaba9349a8948300d5eed8cc804de61b36ae
parent2c6fe2400172e257c9758653d041c0a56f79f3d5
DOC: ssl: add some comments about the non-obvious session allocation stuff

The SSL session allocation/reuse part is far from being trivial, and
there are some necessary tricks such as allocating then immediately
freeing that are required by the API due to internal refcount. All of
this is particularly hard to grasp, even with the scarce man pages.

Let's document a little bit what's granted and expected along this path
to help the reader later.
src/ssl_sock.c