MINOR: checks/sample: Remove unnecessary tests on the sample session
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 May 2020 07:42:04 +0000 (09:42 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 May 2020 10:44:46 +0000 (12:44 +0200)
commitf98e6264910eac4fcf9e5728e30fe62df19500a2
treecc0b4febc63367ec6a64150b45936994c939ae23
parentb5594265d2abb74676d1b0f8e5768d87d5d6b5ec
MINOR: checks/sample: Remove unnecessary tests on the sample session

A sample must always have a session defined. Otherwise, it is a bug. So it is
unnecessary to test if it is defined when called from a health checks context.

This patch fixes the issue #616.
src/backend.c
src/http_fetch.c
src/payload.c
src/ssl_sock.c