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
bc72cff0
Commit
bc72cff0
authored
Dec 22, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pave a bit of road for major surgery
parent
676064df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
cache_vrt_var.c
bin/varnishd/cache/cache_vrt_var.c
+5
-5
No files found.
bin/varnishd/cache/cache_vrt_var.c
View file @
bc72cff0
...
@@ -441,21 +441,21 @@ VRT_r_req_xid(struct sess *sp)
...
@@ -441,21 +441,21 @@ VRT_r_req_xid(struct sess *sp)
/*--------------------------------------------------------------------*/
/*--------------------------------------------------------------------*/
#define REQ_BOOL(
which)
\
#define REQ_BOOL(
hash_var)
\
void __match_proto__() \
void __match_proto__() \
VRT_l_req_##
which
(struct sess *sp, unsigned val) \
VRT_l_req_##
hash_var
(struct sess *sp, unsigned val) \
{ \
{ \
\
\
CHECK_OBJ_NOTNULL(sp, SESS_MAGIC); \
CHECK_OBJ_NOTNULL(sp, SESS_MAGIC); \
sp->
which
= val ? 1 : 0; \
sp->
hash_var
= val ? 1 : 0; \
} \
} \
\
\
unsigned __match_proto__() \
unsigned __match_proto__() \
VRT_r_req_##
which
(struct sess *sp) \
VRT_r_req_##
hash_var
(struct sess *sp) \
{ \
{ \
\
\
CHECK_OBJ_NOTNULL(sp, SESS_MAGIC); \
CHECK_OBJ_NOTNULL(sp, SESS_MAGIC); \
return(sp->
which
); \
return(sp->
hash_var
); \
}
}
REQ_BOOL
(
hash_ignore_busy
)
REQ_BOOL
(
hash_ignore_busy
)
...
...
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