Files
kumomta/docs
Wez Furlong d895ee7afa websockets: fix narrow race at session initiation time
Running down a test flake and diagnosed this one.

This commit closes a narrow race when attaching to the SMTP tracing
(trace-smtp-server, trace-smtp-client) and TSA subscription
(subscribe_suspension_v1, subscribe_event_v1) websocket endpoints. The
server did not finish registering the new subscriber until just after
the connection handshake completed, so any event produced in the brief
window between those two points was not delivered to that client.

In practice this could cause a freshly-attached SMTP trace to miss the
first event or two of a session that happened to start at the same
instant; it did not affect mail flow. The endpoints now register the
subscriber before completing the handshake
2026-07-28 15:21:45 +01:00
..
2025-11-26 16:46:25 +00:00
2026-07-09 21:46:20 -04:00
2026-07-09 21:46:20 -04:00
2025-02-20 16:00:16 -07:00