Changeset 1346

Show
Ignore:
Timestamp:
09/28/2006 12:09:26 PM (23 months ago)
Author:
jan
Message:

added a better comment about the current (incomplete) state of LOCK support

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/lighttpd-1.4.11-ssl-fixes/src/mod_webdav.c

    r1343 r1346  
    11551155 
    11561156        /** 
    1157          * If can have 
    1158          * - <lock-token> 
    1159          * - [etag] 
    1160          * 
    1161          * there is NOT, AND and OR 
    1162          * and a list can be tagged 
    1163          * 
    1164          * (<lock-token>) is untagged 
    1165          * <tag> (<lock-token>) is tagged 
    1166          * 
    1167          * as long as we don't handle collections it is simple. :) 
     1157         * This implementation is more fake than real 
     1158         * we need a parser for the If: header to really handle the full scope 
    11681159         * 
    11691160         * X-Litmus: locks: 11 (owner_modify) 
    11701161         * If: <http://127.0.0.1:1025/dav/litmus/lockme> (<opaquelocktoken:2165478d-0611-49c4-be92-e790d68a38f1>) 
     1162         * - a tagged check:  
     1163         *   if http://127.0.0.1:1025/dav/litmus/lockme is locked with  
     1164         *   opaquelocktoken:2165478d-0611-49c4-be92-e790d68a38f1, go on 
    11711165         * 
    11721166         * X-Litmus: locks: 16 (fail_cond_put) 
    11731167         * If: (<DAV:no-lock> ["-1622396671"]) 
     1168         * - untagged: 
     1169         *   go on if the resource has the etag [...] and the lock 
    11741170         */ 
    11751171        if (NULL != (ds = (data_string *)array_get_element(con->request.headers, "If"))) { 
     1172                /* Ooh, ooh. A if tag, now the fun begins. 
     1173                 * 
     1174                 * this can only work with a real parser  
     1175                 **/ 
    11761176        } else { 
    11771177                /* we didn't provided a lock-token -> */