Roxen.git / server / base_server / module.pike

version» Context lines:

Roxen.git/server/base_server/module.pike:1318:    TRACE_LEAVE("Found match.");    SIMPLE_TRACE_LEAVE("Ok%s.",    got_sublocks ? " (this level only)" : "");    return got_sublocks; // Found matching sub-condition.    }    SIMPLE_TRACE_LEAVE("Conditional ok, but still locked (locktoken: %O).",    lock->locktoken);    locked_fail = 1;    }    -  TRACE_LEAVE("Failed."); +  if (locked_fail) { +  TRACE_LEAVE("Failed (locked)."); +  } else { +  TRACE_LEAVE("Precondition failed."); +  }    return Roxen.http_status(locked_fail ?    Protocols.HTTP.DAV_LOCKED :    Protocols.HTTP.HTTP_PRECOND_FAILED);   }      //! Used by some default implementations to check if we may perform a   //! write access to @[path]. It should at least call   //! @[check_if_header] to check DAV locks. It takes the same arguments   //! and has the same return value as that function.   //!