W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > April to June 2004

Re: locks with depth of infinity treated as depth of 1

From: Julian Reschke <julian.reschke@gmx.de>
Date: Wed, 26 May 2004 02:02:44 +0200
Message-ID: <40B3DEA4.9000705@gmx.de>
To: Stanley Guan <stanley.guan@oracle.com>
Cc: w3c-dist-auth@w3.org

Stanley Guan wrote:
>  If a server's implementation decides to treat locks with depth of
> infinity as depth of 1, what's the recommended way for a
> server receiving requests of locks with depth of infinity?

I'd say that's a bug.

> 1) reject it and responded with detailed information

Yes.

> 2) accept it silently

Never.

> 3) or others?
>  
> What's the recommended way for the servers to reveal the above
> fact programmatically?

No idea. What's the benefit of a depth: 1 lock??? Maybe this is just a 
misunderstanding, and what you really want is a depth: 0 lock on a 
collection?

Best regards, Julian

-- 
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
Received on Tuesday, 25 May 2004 20:03:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:44:06 GMT