Revision: 14806
Author: adrian.chadd
Date: Mon Oct 18 19:22:25 2010
Log: Add further debugging for Issue #107


http://code.google.com/p/lusca-cache/source/detail?r=14806

Modified:
 /branches/LUSCA_HEAD/src/store_vary.c

=======================================
--- /branches/LUSCA_HEAD/src/store_vary.c       Sun Aug 22 00:09:58 2010
+++ /branches/LUSCA_HEAD/src/store_vary.c       Mon Oct 18 19:22:25 2010
@@ -586,8 +586,10 @@
     state->seen_offset = offset;
if (!strLen2(e->mem_obj->reply->content_type) || strCmp(e->mem_obj->reply->content_type, "x-squid-internal/vary") != 0) {
        /* This is not our Vary marker object. Bail out. */
- debug(33, 1) ("storeLocateVary: Not our vary marker object, %s = '%s', vary_data='%s' ; accept_encoding='%.*s'\n", + debug(33, 1) ("storeLocateVary: Not our vary marker object, %s = '%s', vary_data='%s' ; content-type: '%.*s' ; accept_encoding='%.*s'\n",
            storeKeyText(e->hash.key), e->mem_obj->url, vary_data,
+ strLen2(e->mem_obj->reply->content_type) ? strLen2(e->mem_obj->reply->content_type) : 1, + strBuf2(e->mem_obj->reply->content_type) ? strBuf2(e->mem_obj->reply->content_type) : "-",
            strLen2(accept_encoding) ? strLen2(accept_encoding) : 1,
            strBuf2(accept_encoding) ? strBuf2(accept_encoding) : "-");

--
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en.

Reply via email to