From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id A6A1F43D678 for ; Thu, 17 Oct 2019 00:35:38 +0300 (MSK) Received: by mail-lj1-f180.google.com with SMTP id l21so280984lje.4 for ; Wed, 16 Oct 2019 14:35:38 -0700 (PDT) From: Cyrill Gorcunov Date: Thu, 17 Oct 2019 00:35:29 +0300 Message-Id: <20191016213531.1825-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 0/2] box/console: Fix hang on remote console enter List-Id: Tarantool development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tml Alexander pointed that we might require more precise command handling when setting up eos in remote unix connection. Plain number of arguments in command strem is not enough. Otherwise one could call '\set language lua' and hang a connection. Sasha could you please test if it fixes the problem for you? Actually I managed to repeat it without tarantoolctl but still. p.s.: Sorry for resending the series seems i've had a wrong relay settings in my mail sender. --- The following changes since commit de9a7b1a37ec34054b062c513fa1bf9357699a8d: sql: use name instead of function pointer for UDF (2019-10-16 21:06:48 +0300) are available in the Git repository at: https://github.com/tarantool/tarantool console-enter for you to fetch changes up to 972d23c74fb4bff72889c7b6bd0455d39a4fa688: box/console: Test for exact command before setting eos (2019-10-16 23:45:51 +0300) ---------------------------------------------------------------- Cyrill Gorcunov (2): box/console: Move param handlers into file scope box/console: Test for exact command before setting eos src/box/lua/console.lua | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-)