Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
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)
...
@@ -448,6 +448,7 @@ http_swallow_body(struct http *hp, char * const *hh, int body)
ll
=
0
;
ll
=
0
;
p
=
http_find_header
(
hh
,
"content-length"
);
p
=
http_find_header
(
hh
,
"content-length"
);
if
(
p
!=
NULL
)
{
if
(
p
!=
NULL
)
{
hp
->
body
=
hp
->
rxbuf
+
hp
->
prxbuf
;
l
=
strtoul
(
p
,
NULL
,
0
);
l
=
strtoul
(
p
,
NULL
,
0
);
(
void
)
http_rxchar
(
hp
,
l
,
0
);
(
void
)
http_rxchar
(
hp
,
l
,
0
);
vtc_dump
(
hp
->
vl
,
4
,
"body"
,
hp
->
body
,
l
);
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