mbox series

[v2,0/6] relay infrastructure take two

Message ID 20260911230440.2087889-8-johannes@sipsolutions.net
Headers show
Series relay infrastructure take two | expand

Message

Johannes Berg Sept. 11, 2026, 10:59 p.m. UTC
After thinking about this for some time, I think I decided that
it's all better and safer as async. That requires some additional
infrastructure (the new patches in this set), but then has the
following advantages:

 - the tests are really thread safe since there's no thread,
   the lock in the previous version was annoying and, in a way,
   not correct in wpaspy
 - the relay functions that handle frames can properly raise
   exceptions that bubble out immediately

If you prefer the previous version then I can redo that, some
of the things from here should be added (e.g. the try/finally
to always do the _ack() in the relay).

johannes