diff options
author | jan <jan@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2006-09-28 12:09:26 +0000 |
---|---|---|
committer | jan <jan@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2006-09-28 12:09:26 +0000 |
commit | 3b4f85844e29d103323b2f1c96ff20c5524eb2e3 (patch) | |
tree | de43131e40078b6e4c39b90bd9f06334da1de793 | |
parent | 247c3c72ac9c3a3d9a9749aef4727a8d23a63402 (diff) | |
download | lighttpd-1.4.11-ssl-fixes.tar.gz |
added a better comment about the current (incomplete) state of LOCK supportlighttpd-1.4.11-ssl-fixes
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1346 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r-- | src/mod_webdav.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mod_webdav.c b/src/mod_webdav.c index 0ad12b1e..c3764435 100644 --- a/src/mod_webdav.c +++ b/src/mod_webdav.c @@ -1154,25 +1154,25 @@ int webdav_has_lock(server *srv, connection *con, plugin_data *p, buffer *uri) { data_string *ds; /** - * If can have - * - <lock-token> - * - [etag] - * - * there is NOT, AND and OR - * and a list can be tagged - * - * (<lock-token>) is untagged - * <tag> (<lock-token>) is tagged - * - * as long as we don't handle collections it is simple. :) + * This implementation is more fake than real + * we need a parser for the If: header to really handle the full scope * * X-Litmus: locks: 11 (owner_modify) * If: <http://127.0.0.1:1025/dav/litmus/lockme> (<opaquelocktoken:2165478d-0611-49c4-be92-e790d68a38f1>) + * - a tagged check: + * if http://127.0.0.1:1025/dav/litmus/lockme is locked with + * opaquelocktoken:2165478d-0611-49c4-be92-e790d68a38f1, go on * * X-Litmus: locks: 16 (fail_cond_put) * If: (<DAV:no-lock> ["-1622396671"]) + * - untagged: + * go on if the resource has the etag [...] and the lock */ if (NULL != (ds = (data_string *)array_get_element(con->request.headers, "If"))) { + /* Ooh, ooh. A if tag, now the fun begins. + * + * this can only work with a real parser + **/ } else { /* we didn't provided a lock-token -> */ /* if the resource is locked -> 423 */ |