ASF Bugzilla – Attachment 21173 Details for
Bug 36636
database write lock taken for PROPFIND operations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
changes dav_method_propfind to lockdb only for readonly
httpd-2.0.61.patch (text/plain), 1.15 KB, created by
Wilson Felipe
on 2007-11-21 20:45:34 UTC
(
hide
)
Description:
changes dav_method_propfind to lockdb only for readonly
Filename:
MIME Type:
Creator:
Wilson Felipe
Created:
2007-11-21 20:45:34 UTC
Size:
1.15 KB
patch
obsolete
>Index: modules/dav/main/mod_dav.c >=================================================================== >--- modules/dav/main/mod_dav.c (revision 1) >+++ modules/dav/main/mod_dav.c (working copy) >@@ -1312,8 +1312,7 @@ > dav_error *err; > > /* open lock database, to report on supported lock properties */ >- /* ### should open read-only */ >- if ((err = dav_open_lockdb(r, 0, &lockdb)) != NULL) { >+ if ((err = dav_open_lockdb(r, 1, &lockdb)) != NULL) { > return dav_push_error(r->pool, err->status, 0, > "The lock database could not be opened, " > "preventing the reporting of supported lock " >@@ -2016,8 +2015,7 @@ > ctx.bb = apr_brigade_create(r->pool, r->connection->bucket_alloc); > apr_pool_create(&ctx.scratchpool, r->pool); > >- /* ### should open read-only */ >- if ((err = dav_open_lockdb(r, 0, &ctx.w.lockdb)) != NULL) { >+ if ((err = dav_open_lockdb(r, 1, &ctx.w.lockdb)) != NULL) { > err = dav_push_error(r->pool, err->status, 0, > "The lock database could not be opened, " > "preventing access to the various lock "
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 36636
:
16394
|
16402
|
16409
| 21173