Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvdp-pesi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
libvdp-pesi
Commits
fcdffc02
Unverified
Commit
fcdffc02
authored
Jan 02, 2021
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Declaration cleanup
parent
38e9d154
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
vdp_pesi.c
src/vdp_pesi.c
+11
-9
vmod_pesi.c
src/vmod_pesi.c
+1
-1
No files found.
src/vdp_pesi.c
View file @
fcdffc02
...
@@ -75,7 +75,17 @@ int block_final = 0;
...
@@ -75,7 +75,17 @@ int block_final = 0;
int
front_push
=
0
;
int
front_push
=
0
;
/* Forward declarations */
/* Forward declarations */
static
const
struct
transport
VPED_transport
;
static
void
vped_deliver
(
struct
req
*
,
struct
boc
*
,
int
);
static
void
vped_reembark
(
struct
worker
*
,
struct
req
*
);
static
int
vped_minimal_response
(
struct
req
*
,
uint16_t
);
static
const
struct
transport
VPED_transport
=
{
.
magic
=
TRANSPORT_MAGIC
,
.
name
=
"PESI_INCLUDE"
,
.
deliver
=
vped_deliver
,
.
reembark
=
vped_reembark
,
.
minimal_response
=
vped_minimal_response
,
};
static
void
vped_close_vdp
(
struct
req
*
,
int
,
const
struct
vdp
*
);
static
void
vped_close_vdp
(
struct
req
*
,
int
,
const
struct
vdp
*
);
static
void
assert_vdp_next_not
(
struct
req
*
,
const
struct
vdp
*
);
static
void
assert_vdp_next_not
(
struct
req
*
,
const
struct
vdp
*
);
...
@@ -1416,11 +1426,3 @@ vped_deliver(struct req *req, struct boc *boc, int wantbody)
...
@@ -1416,11 +1426,3 @@ vped_deliver(struct req *req, struct boc *boc, int wantbody)
*/
*/
return
;
return
;
}
}
static
const
struct
transport
VPED_transport
=
{
.
magic
=
TRANSPORT_MAGIC
,
.
name
=
"PESI_INCLUDE"
,
.
deliver
=
vped_deliver
,
.
reembark
=
vped_reembark
,
.
minimal_response
=
vped_minimal_response
,
};
src/vmod_pesi.c
View file @
fcdffc02
...
@@ -62,7 +62,7 @@ static const void * const priv_task_id_cfg = &priv_task_id_cfg;
...
@@ -62,7 +62,7 @@ static const void * const priv_task_id_cfg = &priv_task_id_cfg;
* mempool
* mempool
*/
*/
volatile
struct
poolparam
poolparam
=
{
static
volatile
struct
poolparam
poolparam
=
{
.
min_pool
=
10
,
.
min_pool
=
10
,
.
max_pool
=
100
,
.
max_pool
=
100
,
.
max_age
=
10
,
.
max_age
=
10
,
...
...
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