Files
radius-rs/examples
moznion 88e01fc828 Separate server bootstrap sequence between listen() and run()
Initially it uses a channel that given through the `run()` parameter to notify when a server becomes ready,
but that doesn't work because it never run the procedure until `await` called.
This means if it calls `await`, it blocks the procedure so it cannot consume a channel simultaneously.
Thus, it separates bootstrap sequence between `listen()` and `run()`.
`listen()`: Start UDP listening. After this function call is finished, the RADIUS server is ready.
`run()`: Start a loop to handle the RADIUS requests.
2021-01-03 11:19:28 +09:00
..
2021-01-02 11:24:55 +09:00
2020-12-12 13:38:40 +09:00