Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
varnishevent
Commits
9e9e39f1
Commit
9e9e39f1
authored
Mar 27, 2018
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
keep only one instance of hidx
parent
90356896
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
format.c
src/format.c
+2
-0
format.h
src/format.h
+1
-1
No files found.
src/format.c
View file @
9e9e39f1
...
...
@@ -89,6 +89,8 @@ typedef VSTAILQ_HEAD(includehead_s, inc_t) includehead_t;
static
compiled_fmt_t
cformat
,
bformat
,
rformat
;
static
includehead_t
cincl
[
MAX_VSL_TAG
],
bincl
[
MAX_VSL_TAG
],
rincl
[
MAX_VSL_TAG
];
int
hidx
[
MAX_VSL_TAG
];
/*
* Header field names are HTTP 'tokens': ASCII except for control chars
* and the listed separators.
...
...
src/format.h
View file @
9e9e39f1
...
...
@@ -39,7 +39,7 @@ typedef struct arg_t {
typedef
void
formatter_f
(
const
tx_t
*
tx
,
const
arg_t
*
args
,
char
**
s
,
size_t
*
len
);
int
hidx
[
MAX_VSL_TAG
];
extern
int
hidx
[
MAX_VSL_TAG
];
char
*
get_payload
(
const
rec_t
*
rec
);
rec_t
*
get_tag
(
const
tx_t
*
tx
,
enum
VSL_tag_e
tag
);
...
...
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