Merge lp:~rvb/maas/bug-1437388 into lp:~maas-committers/maas/trunk
Proposed by
Raphaël Badin
Status: | Merged |
---|---|
Approved by: | Raphaël Badin |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3839 |
Proposed branch: | lp:~rvb/maas/bug-1437388 |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
137 lines (+46/-15) 2 files modified
src/maasserver/websockets/protocol.py (+18/-5) src/maasserver/websockets/tests/test_protocol.py (+28/-10) |
To merge this branch: | bzr merge lp:~rvb/maas/bug-1437388 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Blake Rouse (community) | Approve | ||
Gavin Panella (community) | Approve | ||
Review via email: mp+257237@code.launchpad.net |
Commit message
Add the client object to the list of "active" clients only after authentication succeeds. This fixes a race condition where the notifications would be passed on to a client before it's authenticated.
To post a comment you must log in.
Looks good, nicely sleuthed. One comment about handing errors, but otherwise it's grand.