pgbouncer - pgbouncer: Apply client_login_timeout to clients waiting for

Started by Nonameover 16 years ago1 messagescomitters
Jump to latest
#1Noname
mkz@pgfoundry.org

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)