Thread: pgbouncer - pgbouncer: Apply client_login_timeout to clients waiting for

pgbouncer - pgbouncer: Apply client_login_timeout to clients waiting for

From
mkz@pgfoundry.org (User Mkz)
Date:
Log Message:
-----------
Apply client_login_timeout to clients waiting for welcome pkt

Otherwise the clients stay waiting infinitely, unless there is query_timeout set.

This only applies for servers that have never been up.  If server has
been connected once, the query_timeout is only thing that kills clients,
as clients are let freely log in after first connect to server.

Modified Files:
--------------
    pgbouncer/src:
        janitor.c (r1.35 -> r1.36)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgbouncer/pgbouncer/src/janitor.c?r1=1.35&r2=1.36)