Merge branch '705-negative-value-passed-to-close-on-socket-c-and-resource-leak' into 'master'

Resolve "negative value passed to close on socket.c and resource leak"

Closes #705

See merge request !1095
37 jobs for master in 23 minutes and 1 second (queued for 7 seconds)
Status Job ID Name Coverage
  Precheck
passed #105290
amd64 docker linux
precheck:🐞:sid:amd64

00:00:48

passed #105289
amd64 docker linux
precheck:debian:sid:amd64

00:00:26

 
  Build
passed #105297
amd64 docker linux
build:asan:debian:sid:amd64

00:02:55

passed #105291
amd64 docker linux
build:centos:centos6:amd64

00:03:22

passed #105292
amd64 docker linux
build:centos:centos7:amd64

00:03:11

passed #105293
amd64 docker linux
build:clang:debian:stretch:amd64

00:01:43

passed #105298
i386 docker linux
build:clang:debian:stretch:i386

00:01:45

passed #105294
amd64 docker linux
build:debian:jessie:amd64

00:01:40

passed #105296
amd64 docker linux
build:debian:sid:amd64

00:01:44

passed #105299
i386 docker linux
build:debian:sid:i386

00:02:04

passed #105295
amd64 docker linux
build:debian:stretch:amd64

00:01:41

passed #105301
amd64 docker linux
noassert:build:debian:sid:amd64

00:01:42

passed #105300
amd64 docker linux
pkcs11:build:debian:sid:amd64

00:01:45

 
  Test
passed #105302
amd64 docker linux
docs:debian:sid:amd64

00:00:48

passed #105318
amd64 docker linux
install:debian:sid:amd64

00:01:34

passed #105322
amd64 docker linux
noassert:systemtest:debian:sid:amd64

00:08:53

passed #105321
amd64 docker linux
noassert:unittest:debian:sid:amd64

00:00:53

passed #105397
linux docker amd64
pkcs11:systemtest:debian:sid:amd64

00:08:26

passed #105319
amd64 docker linux
pkcs11:unittest:debian:sid:amd64

00:00:52

passed #105316
amd64 docker linux
systemtest:asan:debian:sid:amd64

00:10:09

passed #105311
amd64 docker linux
systemtest:centos:centos6:amd64

00:08:57

passed #105312
amd64 docker linux
systemtest:centos:centos7:amd64

00:09:01

passed #105313
amd64 docker linux
systemtest:debian:jessie:amd64

00:08:58

passed #105315
amd64 docker linux
systemtest:debian:sid:amd64

00:09:02

passed #105317
i386 docker linux
systemtest:debian:sid:i386

00:09:01

passed #105314
amd64 docker linux
systemtest:debian:stretch:amd64

00:08:52

passed #105308
amd64 docker linux
unittest:asan:debian:sid:amd64

00:00:55

passed #105396
linux docker amd64
unittest:centos:centos6:amd64

00:00:50

passed #105304
amd64 docker linux
unittest:centos:centos7:amd64

00:00:54

passed #105309
amd64 docker linux
unittest:clang:debian:stretch:amd64

00:00:49

passed #105305
amd64 docker linux
unittest:debian:jessie:amd64

00:00:33

passed #105307
amd64 docker linux
unittest:debian:sid:amd64

00:00:52

passed #105310
i386 docker linux
unittest:debian:sid:i386

00:00:50

passed #105306
amd64 docker linux
unittest:debian:stretch:amd64

00:00:52

failed #105320
amd64 docker linux
pkcs11:systemtest:debian:sid:amd64

00:09:03

failed #105303
amd64 docker linux
unittest:centos:centos6:amd64

00:01:07

 
  Push
passed #105323
amd64 docker linux
push:docs

00:00:12