On Tue, Jun 25, 2013 at 5:43 PM, Lieven Govaerts <lieven.govae...@gmail.com> wrote: >... > When playing around with 'KeepAlive Off' on the server, I noticed that > serf asks Subversion for the proxy credentials for every new > connection. Subversion stops with an authentication failed error after > the 4th connection, because it assumes the first 4 were all failed > attempts to authenticate. > > So, the application depends on serf caching the proxy credentials per > session/realm, and similarly the server creds per server/realm. I have > a WIP patch that improves credentials caching for Basic and Digest, > I'll try to finish that in the coming days.
Well... it seems you could also reset the counter upon a successful response. Or track it per-connection. [in the app, rather than in serf] Resetting the counter might be a bit easier than a new cache. (and defer the cache to future serf rev) Cheers, -g