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
56553255
Commit
56553255
authored
Oct 31, 2013
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use VTCP_Check() when expecting close.
parent
319497d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vtc_http.c
bin/varnishtest/vtc_http.c
+1
-1
No files found.
bin/varnishtest/vtc_http.c
View file @
56553255
...
...
@@ -1064,7 +1064,7 @@ cmd_http_expect_close(CMD_ARGS)
"Expected close: poll = %d, revents = 0x%x"
,
i
,
fds
[
0
].
revents
);
i
=
read
(
hp
->
fd
,
&
c
,
1
);
if
(
i
==
0
)
if
(
VTCP_Check
(
i
)
)
break
;
if
(
i
==
1
&&
vct_islws
(
c
))
continue
;
...
...
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