mikedeboer/jsDAV — pull request #93 by bancek (2014-01-16 17:35:15+00:00)
Title: Fix validateLock being called more than once

Node crashes if locked file is locked again.

```
Error: Can't render headers after they are sent to the client.
```

How to reproduce:

```
node examples/fileserver.js
curl localhost:8000/1.txt -X LOCK -H "Content-type: text/xml" -d 'CURL'
curl localhost:8000/1.txt -X LOCK -H "Content-type: text/xml" -d 'CURL'
```