Refactored login code to better handle redirects #116

Merged
merged 1 commit into from Apr 26, 2017

Conversation

Projects
None yet
3 participants
Member

johnsca commented Apr 26, 2017

Fixes #114: build_facades not handling discharge-required results
Fixes #115: JAAS update broke controller connections

Also ensures that the receiver and pinger tasks get cleaned up properly when a connection is closed.

Also makes the model AllWatcher share the model connection to reduce the number of open connections required. The independent connection is no longer needed since the websocket responses are properly paired with the requests. (The secondary connection was causing additional authentication errors, for some reason.)

Refactored login code to better handle redirects
Fixes #114: build_facades not handling discharge-required results
Fixes #115: JAAS update broke controller connections

Also ensures that the receiver and pinger tasks get cleaned up properly
when a connection is closed.

Also makes the model AllWatcher share the model connection to reduce the
number of open connections required.  The independent connection is no
longer needed since the websocket responses are properly paired with the
requests.

petevg approved these changes Apr 26, 2017

This looks good to me. +1 to merge after tests pass.

@johnsca johnsca merged commit 7c2a530 into master Apr 26, 2017

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
Collaborator

battlemidget commented Apr 27, 2017

Can we get a new version pushed to pypi?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment