Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent3
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
varnishevent3
Commits
d945413e
Commit
d945413e
authored
Dec 03, 2013
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
varnishevent: add a necessary dependency on the -DBESTATS
parent
806224be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
varnishevent.c
bin/varnishevent/varnishevent.c
+6
-3
No files found.
bin/varnishevent/varnishevent.c
View file @
d945413e
...
...
@@ -170,11 +170,12 @@ static inline logline_t
AZ
(
rdr_free
);
signal_spscq_ready
();
LOG_Log0
(
LOG_DEBUG
,
"Reader: waiting for free list"
);
AZ
(
pthread_mutex_lock
(
&
data_ready_lock
));
waiting
=
1
;
waits
++
;
if
(
!
WRT_Waiting
())
AZ
(
pthread_mutex_lock
(
&
data_ready_lock
));
if
(
!
WRT_Waiting
())
{
waits
++
;
AZ
(
pthread_cond_wait
(
&
data_ready_cond
,
&
data_ready_lock
));
}
waiting
=
0
;
AZ
(
pthread_mutex_unlock
(
&
data_ready_lock
));
rdr_free
=
DATA_Take_Freelist
(
&
reader_freelist
);
...
...
@@ -285,8 +286,10 @@ collect(struct logline_t *lp, enum VSL_tag_e tag, unsigned spec,
case
SLT_TxRequest
:
case
SLT_TxURL
:
case
SLT_RxStatus
:
#ifdef BESTATS
case
SLT_BackendReq
:
case
SLT_Fetch_Hdr
:
#endif
case
SLT_Fetch_Body
:
if
(
!
lp
->
spec
)
lp
->
spec
=
VSL_S_BACKEND
;
...
...
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