Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
ebf15ebd
Commit
ebf15ebd
authored
May 30, 2011
by
Tollef Fog Heen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore piped requests in varnishncsa, since we probably miss some of their information
Fixes: #918
parent
76fc17c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
varnishncsa.c
bin/varnishncsa/varnishncsa.c
+5
-3
No files found.
bin/varnishncsa/varnishncsa.c
View file @
ebf15ebd
...
...
@@ -426,8 +426,10 @@ collect_client(struct logline *lp, enum vsl_tag tag, unsigned spec,
lp
->
df_hitmiss
=
"miss"
;
lp
->
df_handling
=
"pass"
;
}
else
if
(
strncmp
(
ptr
,
"pipe"
,
len
)
==
0
)
{
lp
->
df_hitmiss
=
"miss"
;
lp
->
df_handling
=
"pipe"
;
/* Just skip piped requests, since we can't
* print their status code */
clean_logline
(
lp
);
break
;
}
break
;
...
...
@@ -587,7 +589,7 @@ h_ncsa(void *priv, enum vsl_tag tag, unsigned fd,
case
's'
:
/* %s */
fprintf
(
fo
,
"%s"
,
lp
->
df_s
);
fprintf
(
fo
,
"%s"
,
lp
->
df_s
?
lp
->
df_s
:
""
);
break
;
case
't'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment