W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > October to December 1999

Re: resourcetype locknull

From: <jamsden@us.ibm.com>
Date: Thu, 14 Oct 1999 07:32:11 -0400
To: w3c-dist-auth@w3.org
Message-ID: <8525680A.003FFBB2.00@d54mta03.raleigh.ibm.com>

   Lock-null resources were introduced to allow a user to "reserve" a
   name in the namespace. That is, to sort of create the resource and
   lock it in a single method. Otherwise, there is a race condition
   between the time the resource is created and the time it is locked
   where some other user could get the lock or otherwise change the new
Isn't this functionally equivalent to someone getting the lock on the
lock null resource between the time when you issued the lock request
and the time it was handled by the server?  The fact that they got the
lock on the empty dummy resource you created, as opposed to a lock on a
"lock null" resource doesn't seem to change the situation in any
substantive way.
We could eliminate lock-null resources, and keep the ability to reserve a name
in the namespace if LOCK on a null resource created a resource with an empty
body and locked it. Since LOCK on a null resource isn't going to respond with
404 Not Found anyway, it might as well create the resource.
Received on Thursday, 14 October 1999 07:39:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:18 UTC