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
fc092590
Commit
fc092590
authored
Jan 22, 2013
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a buglet which prevented req.body from being shown.
parent
2f831e55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
vtc_http.c
bin/varnishtest/vtc_http.c
+1
-0
No files found.
bin/varnishtest/vtc_http.c
View file @
fc092590
...
...
@@ -448,6 +448,7 @@ http_swallow_body(struct http *hp, char * const *hh, int body)
ll
=
0
;
p
=
http_find_header
(
hh
,
"content-length"
);
if
(
p
!=
NULL
)
{
hp
->
body
=
hp
->
rxbuf
+
hp
->
prxbuf
;
l
=
strtoul
(
p
,
NULL
,
0
);
(
void
)
http_rxchar
(
hp
,
l
,
0
);
vtc_dump
(
hp
->
vl
,
4
,
"body"
,
hp
->
body
,
l
);
...
...
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