From 3dfa57fe260aa960b2825625e3eaff229dc2e0e5 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Thu, 3 Jan 2008 10:03:53 +0000 Subject: [PATCH] suspend in finish_client_login wont work as current packet is still in sbuf --- src/objects.c | 6 ------ 1 file changed, 6 deletions(-) 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; } -- 2.40.0