Revision: 14465
Author: adrian.chadd
Date: Sat Mar 20 01:40:28 2010
Log: Make logging the "Excess Data" message conditional.


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

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

=======================================
--- /branches/LUSCA_HEAD/src/http.c     Sat Mar 20 01:31:20 2010
+++ /branches/LUSCA_HEAD/src/http.c     Sat Mar 20 01:40:28 2010
@@ -929,10 +929,9 @@
        return;
     }
     if (len > 0) {
-       debug(11, Config.onoff.relaxed_header_parser <= 0 || keep_alive ? 1 : 2)
-           ("httpReadReply: Excess data from \"%s %s\"\n",
-           urlMethodGetConstStr(orig_request->method),
-           storeUrl(entry));
+        if (Config.onoff.log_http_violations)
+           debug(11, 1) ("httpReadReply: Excess data from \"%s %s\"\n",
+             urlMethodGetConstStr(orig_request->method), storeUrl(entry));
        comm_close(fd);
        return;
     }

--
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