Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
trackrdrd
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
trackrdrd
Commits
994ff443
Commit
994ff443
authored
Jun 05, 2015
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dispatcher inner loop inexpensively filters for the tags of interest
before calling VSL_Match()
parent
7a1ef8e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
child.c
src/child.c
+11
-0
No files found.
src/child.c
View file @
994ff443
...
...
@@ -442,6 +442,17 @@ dispatch(struct VSL_data *vsl, struct VSL_transaction * const pt[], void *priv)
unsigned
xid
;
enum
VSL_tag_e
tag
;
/* Quick filter for the tags of interest */
switch
(
VSL_TAG
(
t
->
c
->
rec
.
ptr
))
{
case
SLT_VCL_Log
:
case
SLT_Timestamp
:
case
SLT_VSL
:
break
;
default:
continue
;
}
/* Now filter for regexen, etc. */
if
(
!
VSL_Match
(
vsl
,
t
->
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