View | Details | Raw Unified | Return to bug 36636
Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +11 lines)
Line  Link Here
0
-- httpd-2.0.54/modules/dav/main/mod_dav.c     2005-04-10 01:55:25.000000000 +0200
0
++ httpd-2.0.54-patched/modules/dav/main/mod_dav.c     2005-09-13 18:26:10.210540600 +0200
Lines 430-435 Link Here
430
{
430
{
431
    apr_text *t = NULL;
431
    apr_text *t = NULL;
432
432
433
    if (output->c && output->c->aborted) {
434
        return;
435
    }
436
433
    if (response->propresult.xmlns == NULL) {
437
    if (response->propresult.xmlns == NULL) {
434
      ap_fputs(output, bb, "<D:response>");
438
      ap_fputs(output, bb, "<D:response>");
435
    }
439
    }
Lines 515-520 Link Here
515
{
519
{
516
    apr_bucket *b;
520
    apr_bucket *b;
517
    
521
    
522
    if (r->connection->aborted) {
523
        return APR_ECONNABORTED;
524
    }
525
518
    ap_fputs(r->output_filters, bb, "</D:multistatus>" DEBUG_CR);
526
    ap_fputs(r->output_filters, bb, "</D:multistatus>" DEBUG_CR);
519
    
527
    
520
    /* indicate the end of the response body */
528
    /* indicate the end of the response body */
Lines 1313-1319 Link Here
1313
1321
1314
    /* open lock database, to report on supported lock properties */
1322
    /* open lock database, to report on supported lock properties */
1315
    /* ### should open read-only */
1323
    /* ### should open read-only */
1316
    if ((err = dav_open_lockdb(r, 0, &lockdb)) != NULL) {
1324
    if ((err = dav_open_lockdb(r, 1, &lockdb)) != NULL) {
1317
        return dav_push_error(r->pool, err->status, 0,
1325
        return dav_push_error(r->pool, err->status, 0,
1318
                              "The lock database could not be opened, "
1326
                              "The lock database could not be opened, "
1319
                              "preventing the reporting of supported lock "
1327
                              "preventing the reporting of supported lock "
Lines 2017-2023 Link Here
2017
    apr_pool_create(&ctx.scratchpool, r->pool);
2025
    apr_pool_create(&ctx.scratchpool, r->pool);
2018
2026
2019
    /* ### should open read-only */
2027
    /* ### should open read-only */
2020
    if ((err = dav_open_lockdb(r, 0, &ctx.w.lockdb)) != NULL) {
2028
    if ((err = dav_open_lockdb(r, 1, &ctx.w.lockdb)) != NULL) {
2021
        err = dav_push_error(r->pool, err->status, 0,
2029
        err = dav_push_error(r->pool, err->status, 0,
2022
                             "The lock database could not be opened, "
2030
                             "The lock database could not be opened, "
2023
                             "preventing access to the various lock "
2031
                             "preventing access to the various lock "

Return to bug 36636