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
010ef993
Commit
010ef993
authored
Apr 06, 2013
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the new-ish enum type for req-fsm returns
parent
dc7f9a9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
cache_esi_deliver.c
bin/varnishd/cache/cache_esi_deliver.c
+5
-5
No files found.
bin/varnishd/cache/cache_esi_deliver.c
View file @
010ef993
...
...
@@ -47,7 +47,7 @@ ved_include(struct req *preq, const char *src, const char *host)
struct
worker
*
wrk
;
struct
req
*
req
;
char
*
wrk_ws_wm
;
int
i
;
enum
req_fsm_nxt
s
;
wrk
=
preq
->
wrk
;
...
...
@@ -104,12 +104,12 @@ ved_include(struct req *preq, const char *src, const char *host)
while
(
1
)
{
req
->
wrk
=
wrk
;
i
=
CNT_Request
(
wrk
,
req
);
if
(
i
==
1
)
s
=
CNT_Request
(
wrk
,
req
);
if
(
s
==
REQ_FSM_DONE
)
break
;
DSL
(
DBG_WAITINGLIST
,
req
->
vsl
->
wid
,
"loop waiting for ESI (%d)"
,
i
);
assert
(
i
==
2
);
"loop waiting for ESI (%d)"
,
(
int
)
s
);
assert
(
s
==
REQ_FSM_DISEMBARK
);
AZ
(
req
->
wrk
);
(
void
)
usleep
(
10000
);
}
...
...
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