From: Marko Kreen Date: Thu, 3 Jan 2008 10:03:53 +0000 (+0000) Subject: suspend in finish_client_login wont work as current packet is still in sbuf X-Git-Tag: pgbouncer_1_2_rc2~96 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3dfa57fe260aa960b2825625e3eaff229dc2e0e5;p=pgbouncer suspend in finish_client_login wont work as current packet is still in sbuf --- diff --git a/src/objects.c b/src/objects.c index d23cf5c..f46ecbc 100644 --- a/src/objects.c +++ b/src/objects.c @@ -794,12 +794,6 @@ bool finish_client_login(PgSocket *client) slog_debug(client, "logged in"); - /* in suspend, don't let send query */ - if (cf_pause_mode == P_SUSPEND) - if (!suspend_socket(client)) - disconnect_client(client, true, "extra data on login not allowed when suspending"); - /* fixme: disallow extra data on login completely? is it handled? */ - return true; }