From b30cfcc1394ea6083e52f3e27b895b63af9b4d8f Mon Sep 17 00:00:00 2001 From: Toby Collett Date: Sun, 29 Mar 2009 11:30:22 +1300 Subject: [PATCH] couple more log tidy ups to make server and client messages more in sync --- crccache/mod_crccache_client.c | 3 +-- crccache/mod_crccache_server.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/crccache/mod_crccache_client.c b/crccache/mod_crccache_client.c index b6c608fbe..85ff62565 100644 --- a/crccache/mod_crccache_client.c +++ b/crccache/mod_crccache_client.c @@ -1306,8 +1306,7 @@ static int crccache_decode_filter(ap_filter_t *f, apr_bucket_brigade *bb) { consumed_bytes += literal_data_len; ctx->processed_length += literal_data_len; - ap_log_error(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, r->server, - "CRCSYNC-DECODE, lit, bytes %d, %d %d",literal_data_len, ctx->processed_length, ctx->section_length); + //ap_log_error(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, r->server,"CRCSYNC-DECODE, lit, bytes %d, %d %d",literal_data_len, ctx->processed_length, ctx->section_length); if (ctx->processed_length == ctx->section_length) { diff --git a/crccache/mod_crccache_server.c b/crccache/mod_crccache_server.c index 331603448..3e0ece8a5 100644 --- a/crccache/mod_crccache_server.c +++ b/crccache/mod_crccache_server.c @@ -337,7 +337,7 @@ static int crccache_out_filter(ap_filter_t *f, apr_bucket_brigade *bb) { // send one last literal if we still have unmatched data if (ctx->buffer_count > 0) { - //ap_log_error(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, r->server,"CRCCACHE-ENCODE final literal %ld bytes",ctx->buffer_count); + ap_log_error(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, r->server,"CRCCACHE-ENCODE final literal %ld bytes",ctx->buffer_count); unsigned bucket_size = ctx->buffer_count + ENCODING_LITERAL_HEADER_SIZE; ctx->tx_length += bucket_size; char * buf = apr_palloc(r->pool, bucket_size); -- 2.11.4.GIT