projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
998bffb
)
* mute /sslg and /wholist_section from logging when in debug mode since it floods...
author
Wilfried Göesgens
<willi@citadel.org>
Tue, 5 Aug 2008 18:21:48 +0000
(18:21 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Tue, 5 Aug 2008 18:21:48 +0000
(18:21 +0000)
webcit/context_loop.c
patch
|
blob
|
history
diff --git
a/webcit/context_loop.c
b/webcit/context_loop.c
index 4fe4a2dda75dddaf8b1874df42f954e47aff8cbd..d63d829c1f3b9d9976b83dc1d1b0725d25d6f83b 100644
(file)
--- a/
webcit/context_loop.c
+++ b/
webcit/context_loop.c
@@
-379,9
+379,15
@@
void context_loop(int sock)
}
/** Begin parsing the request. */
-
- safestrncpy(buf, req->line, sizeof buf);
- lprintf(5, "HTTP: %s\n", buf);
+#ifdef TECH_PREVIEW
+ if ((strncmp(req->line+4, "/sslg", 5) != 0) &&
+ (strncmp(req->line+4, "/wholist_section", 16) != 0)) {
+#endif
+ safestrncpy(buf, req->line, sizeof buf);
+ lprintf(5, "HTTP: %s\n", buf);
+#ifdef TECH_PREVIEW
+ }
+#endif
/** Check for bogus requests */
if (is_bogus(buf)) {