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

[PATCH] Fix for Issue #1267 Rev. 2 [was Re: [PATCH] Fix for Issue #1267]

From: Shlomi Fish <shlomif_at_vipe.stud.technion.ac.il>
Date: 2003-07-21 19:22:45 CEST

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 <shlomif@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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Mon Jul 21 19:23:41 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.