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

[PATCH] Make ra_serf handle '403 Forbidden' response.

From: Lieven Govaerts <lgo_at_mobsol.be>
Date: 2007-06-25 20:18:39 CEST

I have some problems to get the authz_tests working on my (Windows)
laptop with ra_serf. What happens is that svn will abort on all tests
the involve a '403 Forbidden' response from apache.
Am I the only one with this problem?

Attached patch will make ra_serf raise an error upon receiving a reponse
with code 403. It only does a minimum of cleanup before returning the
error. I think that's ok, but would appreciate a second opinion.


Fix abort()'s when trying to access a forbidden resource. This also catches
the 'broken authz file' situation.

* subversion/libsvn_ra_serf/util.c
  (handle_response): catch response code 403 and raise an error.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 25 20:14:24 2007

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.