kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 8215277483ff989520eeb6d4ccec424b795a632e
parent 3cea669a2c7c69991272b8f0aef644014f280ffb
Author: Joris Vink <joris@coders.se>
Date:   Thu, 13 Jul 2017 11:02:41 +0200

small pgsql fix.

if we fail at rolling back an in-error transaction on a connection
just remove that connection and go back to rescanning rather then
returning an error to the caller, there may be more functional
connections in the pipeline.

Diffstat:
src/pgsql.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/src/pgsql.c b/src/pgsql.c @@ -467,7 +467,6 @@ rescan: kore_pgsql_cleanup(rollback); kore_free(rollback); pgsql_conn_cleanup(conn); - return (NULL); } goto rescan;