2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-08-04 00:17:01 +00:00
Files
confluent/confluent_server/aiohmi
Markus Hilger 5135a6cd3d Make the SMM web session cache safe to share
Now that the expiry comparison actually caches a client, the session it
holds is shared, so tearing it down and replacing it needs the same care
the IMM handler already takes:

Dispose of an expired session with a logout instead of dropping the
reference, otherwise every refresh leaves an authenticated session
behind on an SMM that only has a handful of slots.  That logout has to
tolerate a session the SMM has already reaped, hence the except.

Guard the login itself, so two coroutines arriving at an empty or
expired cache do not both log in and orphan one of the two sessions.

Stamp the vintage once the login round trips are done rather than
before, so a slow SMM cannot hand back a client that is already expired.
2026-07-27 04:56:32 +02:00
..
2026-04-30 08:48:24 -04:00
2026-07-14 05:28:53 +02:00
2026-04-30 08:48:24 -04:00
2026-07-14 05:03:58 +02:00
2026-04-30 08:48:24 -04:00
2026-04-30 08:48:24 -04:00
2026-04-30 08:48:24 -04:00
2026-04-30 08:48:24 -04:00
2026-04-30 08:48:24 -04:00
2026-04-30 08:48:24 -04:00