From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 8C3422613A for ; Thu, 15 Aug 2019 10:43:03 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1sz5UFoEkVUC for ; Thu, 15 Aug 2019 10:43:03 -0400 (EDT) Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com [209.85.208.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 479AF2331F for ; Thu, 15 Aug 2019 10:43:03 -0400 (EDT) Received: by mail-lj1-f195.google.com with SMTP id f9so2409461ljc.13 for ; Thu, 15 Aug 2019 07:43:03 -0700 (PDT) From: Cyrill Gorcunov Subject: [tarantool-patches] [PATCH 0/4] box/console: Improve lua mode for remote console Date: Thu, 15 Aug 2019 17:42:53 +0300 Message-Id: <20190815144257.9405-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tml Cc: Alexander Turenko , Konstantin Osipov , Cyrill Gorcunov This series address a problem where we can hang a connection setting up lua mode while server continue treating all data as having built-in yaml end of string terminator. I've tested the series manually (and since we still use yaml as a default output it should not break anything existing) but my next priority is lifting up our test engine and use new require('console').eos() helper inside to be able to read lua replies from server test jobs. Thus I post the series asap just to gather feedback. The following changes since commit 2d5e56fffe894c1fb77fe77bcf12b34da772b2a7: wal: make wal_sync fail on write error (2019-08-14 19:43:10 +0300) are available in the Git repository at: https://github.com/cyrillos/tarantool.git console-fix-1 for you to fetch changes up to 396e9a5f6e3ec0fb03c6603ecaef59ee7073420c: box/console: Provide console.eos() api (2019-08-15 17:30:33 +0300) ---------------------------------------------------------------- Cyrill Gorcunov (4): box/console: Add explicit output EOS mapping box/console: Refactor command handling box/console: Fix hang in remote console lua mode box/console: Provide console.eos() api src/box/lua/console.lua | 107 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 94 insertions(+), 13 deletions(-) -- 2.20.1