Branch: Tag:

2010-06-28

2010-06-28 06:57:57 by Martin Jonsson <marty@roxen.com>

Add support for "opaque" WebDAV modules, i.e. modules that handle a specific
location on their own, without fallback to other location modules.

Rev: server/base_server/configuration.pike:1.702
Rev: server/base_server/module.pike:1.244
Rev: server/modules/misc/webdav.pike:1.39

5:   // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.701 2010/06/20 15:48:27 jonasw Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.702 2010/06/28 06:57:57 marty Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>
1803:    lock_info &= ~1;    if (lock_info > state) state = lock_info;    if (state == LOCK_EXCL_AT) return LOCK_EXCL_AT; // Doesn't get any worse. +  if (function_object(func)->webdav_opaque) break;    }    return state;   }
1836:    // FIXME: Semantics for partial unlocking?    if (ret) return ret;    } +  if (function_object(func)->webdav_opaque) break;    }    active_locks[lock] = 0;    // destruct(lock);
1973:    // destruct(lock);    return lock_error;    } +  if (function_object(func)->webdav_opaque) break;    }       if (expiry_delta) {