BUG/MAJOR: spoa/python: Fixing return None
authorGilchrist Dadaglo <dadaglo@amazon.com>
Tue, 8 Dec 2020 14:37:07 +0000 (14:37 +0000)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 9 Dec 2020 07:39:31 +0000 (08:39 +0100)
commitd5c428e761796317fdfa9c7f9bf3f6280e218a98
tree762d002d189d912b6fa0ee0417ed213cff29290d
parent29885f030843f85ff20476e5a9fc8f72b2e71e23
BUG/MAJOR: spoa/python: Fixing return None

As per https://docs.python.org/3/c-api/none.html, None requires to be
incremented before being returned to prevent deallocating none

This patch must be backported as far as 2.0.
contrib/spoa_server/ps_python.c