[PATCH v6 0/7] box/console: Fix hang in remote console lua mode

Cyrill Gorcunov gorcunov at gmail.com
Fri Oct 4 10:49:19 MSK 2019


In the series we fix the ability to hang in remote console
with lua output mode (note that the problem doesn't cause
any security issue simply inconvenience for users).

Test engine for lua mode is not yet ready, but I'm wokring on it.

v6:
 - Add comments as Kostja pointed to
 - Add Reviewed-by tags

---
The following changes since commit 44635e8c4776cc0872d69de247240124e59cfcfb:

  fiber: Pass a slab cache pointer when creating fiber stack (2019-10-04 09:42:24 +0300)

are available in the Git repository at:

  https://github.com/tarantool/tarantool console-fix-6

for you to fetch changes up to 52c59e998810a6b40f8760e8830dd3ac081055f4:

  box/console: Rename output_parse to parse_output (2019-10-04 10:40:17 +0300)

----------------------------------------------------------------
Cyrill Gorcunov (7):
      box/console: Add mapping for direct symbols
      box/console: Relax lua handler from local variables
      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
      box/console: Rename output_parse to parse_output

 src/box/lua/console.lua | 186 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 158 insertions(+), 28 deletions(-)
-- 
2.20.1




More information about the Tarantool-patches mailing list