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
987d090a
Commit
987d090a
authored
Feb 25, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore upper/lower case when comparing header names
parent
0690efa6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vtc_http2.c
bin/varnishtest/vtc_http2.c
+1
-1
No files found.
bin/varnishtest/vtc_http2.c
View file @
987d090a
...
@@ -884,7 +884,7 @@ find_header(const struct hpk_hdr *h, const char *k)
...
@@ -884,7 +884,7 @@ find_header(const struct hpk_hdr *h, const char *k)
int
kl
=
strlen
(
k
);
int
kl
=
strlen
(
k
);
while
(
h
->
t
)
{
while
(
h
->
t
)
{
if
(
kl
==
h
->
key
.
len
&&
!
mem
cmp
(
h
->
key
.
ptr
,
k
,
kl
))
if
(
kl
==
h
->
key
.
len
&&
!
strncase
cmp
(
h
->
key
.
ptr
,
k
,
kl
))
return
h
->
value
.
ptr
;
return
h
->
value
.
ptr
;
h
++
;
h
++
;
}
}
...
...
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