You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Shlomi Fish <sh...@vipe.stud.technion.ac.il> on 2003/07/21 17:22:45 UTC
[PATCH] Fix for Issue #1267 Rev. 2 [was Re: [PATCH] Fix for Issue
#1267]
Here's an updated patch that distinguishes between 404 error codes and
everything else:
Log:
<<<
Resolves Issue #1267 (Have to say "No" several times to reject SSL
certificate.) and probably other misbehaviours.
* svn_error_codes.h
Added the SVN_ERR_RA_DAV_PATH_NOT_FOUND error code.
* props.c
(svn_ra_dav__search_for_starting_props): now ignoring on the PATH_NOT_FOUND
error instead of the more generic REQUEST_FAILED error.
* util.c
(svn_ra_dav__parsed_request): check if the error code is 404 and
if so send a PATH_NOT_FOUND error. Else send a generic error.
>>>
Regards,
Shlomi Fish
On Mon, 21 Jul 2003, Ben Collins-Sussman wrote:
> Shlomi Fish <sh...@vipe.technion.ac.il> writes:
>
> > OK, can I add an error code to svn_error_codes.h?
>
> Sure, create SVN_ERR_RA_DAV_PATH_NOT_FOUND. That's the main idea.
> Map 404 to that error code.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
----------------------------------------------------------------------
Shlomi Fish shlomif@vipe.technion.ac.il
Home Page: http://t2.technion.ac.il/~shlomif/
An apple a day will keep a doctor away. Two apples a day will keep two
doctors away.
Falk Fish