daemon/tls: properly process TLS rehandshake

18 jobs for tls-reneg in 8 minutes (queued for 10 seconds)
Status Job ID Name Coverage
  Build
passed #153107
amd64 linux docker
build:clang:linux:amd64

00:00:53

passed #153106
amd64 linux docker
build:linux:amd64

00:00:54

passed #153108
amd64 linux docker allowed to fail
srpm

00:00:28

 
  Test
passed #153115
amd64 linux docker
deckard:linux:amd64

00:06:38

passed #153122
privileged
distro:epel-7

00:02:37

passed #153121
privileged
distro:fedora-27

00:03:16

passed #153114
docker
doc

00:00:41

passed #153113
amd64 linux docker
installcheck:linux:amd64

00:01:37

passed #153116
amd64 linux docker
installcheck:valgrind:linux:amd64

00:02:12

passed #153110
docker
lint:c

00:02:56

failed #153111
docker allowed to fail
lint:clang-scan-build

00:01:21

passed #153109
docker
lint:lua

00:00:36

passed #153119
amd64 linux docker
respdiff:iter:tcp:linux:amd64

00:04:25

passed #153120
amd64 linux docker
respdiff:iter:tls:linux:amd64

00:04:14

passed #153118
amd64 linux docker
respdiff:iter:udp:linux:amd64

00:04:08

passed #153112
amd64 linux docker
test:linux:amd64

00:01:29

passed #153117
amd64 linux docker
test:linux:amd64:valgrind

00:01:19

 
  Coverage
passed #153123
amd64 linux docker
coverage

00:00:22

70.2%
 
Name Stage Failure
failed
lint:clang-scan-build Test
  CCLD	modules/stats/stats.so
CCLD modules/cookies/cookies.so
CCLD modules/bogus_log/bogus_log.so
scan-build: 29 bugs found.
scan-build: Run 'scan-view /builds/knot/knot-resolver/scan-results/2018-07-23-141729-15-1' to examine bug reports.
Uploading artifacts...
scan-results: found 34 matching files
Uploading artifacts to coordinator... ok
id=153111 responseStatus=201 Created token=u_yWP_a-
ERROR: Job failed: exit code 1