Branch: Tag:

2004-06-02

2004-06-02 21:49:34 by Martin Stjernholm <mast@lysator.liu.se>

Fixed error handling when properties are queried so that e.g. a 401 response
from query_property_set doesn't get wrapped in a MultiStatus. Note that this
fix disables unified directory listings over several file systems.

Rev: server/base_server/module.pike:1.215
Rev: server/base_server/prototypes.pike:1.139
Rev: server/modules/misc/webdav.pike:1.37

6:   #include <module.h>   #include <variables.h>   #include <module_constants.h> - constant cvs_version="$Id: prototypes.pike,v 1.138 2004/06/01 13:04:09 mast Exp $"; + constant cvs_version="$Id: prototypes.pike,v 1.139 2004/06/02 21:49:32 mast Exp $";      #ifdef DAV_DEBUG   #define DAV_WERROR(X...) werror(X)
2168:    PropertySet|mapping(string:mixed) query_property_set(string path, RequestID id);    string|array(SimpleNode)|mapping(string:mixed)    query_property(string path, string prop_name, RequestID id); -  void recurse_find_properties(string path, string mode, int depth, -  RequestID id, multiset(string)|void filt); +  mapping(string:mixed) recurse_find_properties(string path, string mode, int depth, +  RequestID id, +  multiset(string)|void filt);    mapping(string:mixed) patch_properties(string path,    array(PatchPropertyCommand) instructions,    RequestID id);