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
08b8b27e
Commit
08b8b27e
authored
Sep 21, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More detail on write errors.
parent
0d505501
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vtc_http.c
bin/varnishtest/vtc_http.c
+2
-1
No files found.
bin/varnishtest/vtc_http.c
View file @
08b8b27e
...
...
@@ -143,7 +143,8 @@ http_write(const struct http *hp, int lvl, const char *pfx)
vtc_dump
(
hp
->
vl
,
lvl
,
pfx
,
VSB_data
(
hp
->
vsb
),
VSB_len
(
hp
->
vsb
));
l
=
write
(
hp
->
fd
,
VSB_data
(
hp
->
vsb
),
VSB_len
(
hp
->
vsb
));
if
(
l
!=
VSB_len
(
hp
->
vsb
))
vtc_log
(
hp
->
vl
,
0
,
"Write failed: %s"
,
strerror
(
errno
));
vtc_log
(
hp
->
vl
,
0
,
"Write failed: (%d vs %d) %s"
,
l
,
VSB_len
(
hp
->
vsb
),
strerror
(
errno
));
}
/**********************************************************************
...
...
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