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

Re: credential caching and pool/session lifetime errors

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-11-17 01:34:12 CET

On Sun, 2003-11-16 at 19:02, Philip Martin wrote:
> Should svn_auth_first_credentials be using the auth baton pool?

Yes. (That may require changing the provider interface.)

> I'm also wondering why it's necessary for svn_ra_local__open
> to cache the credentials.

I think that's just a matter of code convenience; if there were a
function to get the username from the session baton each places where it
is needed, that would work just as well, but it would wind up being more
lines of code.

(Hm, in the ! callbacks->auth_baton case, session->username should be
set to NULL, not to "". But that's not related.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 17 01:35:12 2003

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.