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

[rfc] redirects with neon

From: Ben Collins <bcollins_at_debian.org>
Date: 2002-03-28 20:53:53 CET

Well, I'm trying to setup some fancy things with my repo. One of those
nifty things is to allow this setup:

$ svn co http://server/repo/trunk
$ cd trunk
(edit file.c)
$ svn ci --username blah -m blah file.c
(server redirects authenticated actions to https://server/$1)

Now, this works on the server side. However, svn fails because it gets a
redirect (actually neon fails). Neon does have support for redirects,
which is easily enabled via ne_redirect_register(). This only work for
same server/port/protocol.

So in ra_dav, we need to catch a 302 and rebuild the sessions in this
case.

Anyone have any comments or gotchas I should watch for in this case?

-- 
 .------==-=======--------=====------------=-=-----.
/       Ben Collins    --    Debian GNU/Linux       \
`               bcollins@debian.org                 '
 `---=========---====----------==-===-------=--=---'
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 28 20:55:09 2002

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