Connection: rework authentication and registration

Authored by ahartmetz on Jun 22 2018, 8:58 PM.

Description

Connection: rework authentication and registration

Only create messages etc immediately before they are needed, makes
the logic more local. The "preloading" of the hello message didn't
require as much manipulation of internal state as this solution,
but made for a stranger state to keep track of for a longer time
in case something went wrong.

Details

Committed
ahartmetzAug 5 2019, 8:15 PM
Parents
R738:3f5eabce5c48: Connection: add close(). Sometimes useful.
Branches
Unknown
Tags
Unknown