diff options
author | Kali Kaneko <kali@leap.se> | 2016-02-22 19:26:45 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-02-23 19:32:20 -0400 |
commit | b940cfc29b88374ce57b101a39bc012bb903f6e8 (patch) | |
tree | ce4e6ee7a1715e875392242ddeb9b6b6182e0fea /src/leap/common/config/baseconfig.py | |
parent | 88941164243ce1ac6f30c790120165c04ea4a041 (diff) |
[bug] avoid the events server to block twistd daemon
1. refactor the zmq_connect/bind methods to use the txzmq addEndpoints
mechanism, which cleans up the code a bit. it uses the underlying
bindOrConnect method.
2. wrap the addEndpoints call in a helper function that ensures that
doRead is called afterward.
I'm not fully comfortable with us still using the AuthenticatorThread, I
believe we could go witha txzmq-based authenticator for curve.
Diffstat (limited to 'src/leap/common/config/baseconfig.py')
0 files changed, 0 insertions, 0 deletions