[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [serf-dev] Re: ssl tunnel with basic authentication currently broken (was Re: Another crash in ra_serf in 1.8.0)

From: Greg Stein <gstein_at_gmail.com>
Date: Tue, 25 Jun 2013 21:22:00 -0400

On Tue, Jun 25, 2013 at 5:43 PM, Lieven Govaerts
<lieven.govaerts_at_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
Received on 2013-06-26 03:22:34 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.