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
60c3ecfe
Commit
60c3ecfe
authored
Aug 30, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://git.varnish-cache.org/git/varnish-cache
parents
35aede39
08200709
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
varnishncsa.c
bin/varnishncsa/varnishncsa.c
+7
-0
No files found.
bin/varnishncsa/varnishncsa.c
View file @
60c3ecfe
...
...
@@ -624,6 +624,13 @@ h_ncsa(void *priv, enum VSL_tag_e tag, unsigned fd,
* Fake "%r". This would be a lot easier if Varnish
* normalized the request URL.
*/
if
(
!
lp
->
df_m
||
!
req_header
(
lp
,
"Host"
)
||
!
lp
->
df_U
||
!
lp
->
df_H
)
{
clean_logline
(
lp
);
return
(
reopen
);
}
VSB_cat
(
os
,
lp
->
df_m
);
VSB_putc
(
os
,
' '
);
if
(
req_header
(
lp
,
"Host"
))
{
...
...
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