Commit 7ea8630e04bd0b5f86c6fcc73899433317b8f0fa

Edward Thomson 2019-04-07T20:11:59

http: free auth context on failure When we send HTTP credentials but the server rejects them, tear down the authentication context so that we can start fresh. To maintain this state, additionally move all of the authentication handling into `on_auth_required`.