Обсуждение: pgbouncer - pgbouncer: Fix potential use of old connections after config

Поиск
Список
Период
Сортировка

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

От
mkz@pgfoundry.org (User Mkz)
Дата:
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)