pgbouncer - pgbouncer: Fix potential use of old connections after config

From: mkz(at)pgfoundry(dot)org (User Mkz)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgbouncer - pgbouncer: Fix potential use of old connections after config
Date: 2009-05-22 14:39:10
Message-ID: 20090522143910.5CEBF17ADF1F@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix potential use of old connections after config change

Despite detecting and tagging them for close on config change,
the closing happened only in long-term maintenance. So there
was time where they could still be reused by clients.

Fix this by strict check in find_server()

Modified Files:
--------------
pgbouncer/src:
objects.c (r1.52 -> r1.53)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgbouncer/pgbouncer/src/objects.c.diff?r1=1.52&r2=1.53)

Browse pgsql-committers by date

  From Date Subject
Next Message User Jbcooley 2009-05-23 02:37:57 npgsql - Npgsql2: incremental changes towards DDEX support
Previous Message User Itagaki 2009-05-22 06:23:11 pgbulkload - pgbulkload: Add pgut-be files.