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
32ad989a
Commit
32ad989a
authored
Mar 16, 2017
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for compatibility with Varnish 4.1.0.
parent
7e7df53b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
3 deletions
+7
-3
child.c
src/child.c
+1
-0
data.c
src/data.c
+1
-0
handler.c
src/handler.c
+1
-0
regress.sh
src/test/regress.sh
+3
-3
worker.c
src/worker.c
+1
-0
No files found.
src/child.c
View file @
32ad989a
...
...
@@ -60,6 +60,7 @@
#include "vcs_version.h"
#include "vtim.h"
#include "vapi/vsm.h"
#include "vapi/vsl.h"
#include "miniobj.h"
#include "vas.h"
...
...
src/data.c
View file @
32ad989a
...
...
@@ -40,6 +40,7 @@
#include "vas.h"
#include "miniobj.h"
#include "vdef.h"
#include "vsb.h"
/* Preprend head2 before head1, result in head1, head2 empty afterward */
...
...
src/handler.c
View file @
32ad989a
...
...
@@ -49,6 +49,7 @@
#endif
#include "vas.h"
#include "vdef.h"
#include "vsb.h"
#include "trackrdrd.h"
...
...
src/test/regress.sh
View file @
32ad989a
...
...
@@ -29,7 +29,7 @@ rm -f $LOG $MSG
# "Not running as root" filtered so that the test is independent of
# the user running it
CKSUM
=
$(
grep
-v
'Worker 1'
$LOG
|
sed
-e
's/\(initializing\) \(.*\)/\1/'
|
sed
-e
's/\(Running as\) \([a-zA-Z0-9]*\)$/\1/'
|
grep
-v
'Not running as root'
|
cksum
)
if
[
"
$CKSUM
"
!=
'3
927549947 214347
'
]
;
then
if
[
"
$CKSUM
"
!=
'3
352465725 375518
'
]
;
then
echo
"ERROR: Regression test incorrect reader log cksum:
$CKSUM
"
exit
1
fi
...
...
@@ -39,14 +39,14 @@ fi
# in different runs.
# Also filter the version/revision from the "connected" line.
CKSUM
=
$(
grep
'Worker 1'
$LOG
| egrep
-v
'returned [0-9]+ [^ ]+ to free list'
|
sed
-e
's/\(connected\) \(.*\)/\1/'
|
cksum
)
if
[
"
$CKSUM
"
!=
'
4004155691 35506
'
]
;
then
if
[
"
$CKSUM
"
!=
'
3908916621 57319
'
]
;
then
echo
"ERROR: Regression test incorrect worker log cksum:
$CKSUM
"
exit
1
fi
# Check the messages and keys
CKSUM
=
$(
cksum
$MSG
)
if
[
"
$CKSUM
"
!=
"
3675018591 29491
$MSG
"
]
;
then
if
[
"
$CKSUM
"
!=
"
1139478852 48689
$MSG
"
]
;
then
echo
"ERROR: Regression test incorrect output cksum:
$CKSUM
"
exit
1
fi
...
...
src/worker.c
View file @
32ad989a
...
...
@@ -39,6 +39,7 @@
#include "trackrdrd.h"
#include "vas.h"
#include "miniobj.h"
#include "vdef.h"
#include "vsb.h"
#define VERSION_LEN 80
...
...
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