]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.0.0312: failure when a channel receives a split json message v8.0.0312
authorBram Moolenaar <Bram@vim.org>
Mon, 6 Feb 2017 20:56:09 +0000 (21:56 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 6 Feb 2017 20:56:09 +0000 (21:56 +0100)
commit88989cc381c764978f7d7c8e387f3efc21333b4b
tree6e21020d48604772c0e4ea94d690f9f569dc9557
parent544d3bc9f0e494cb712a33b61558b8e8e12b1e0b
patch 8.0.0312: failure when a channel receives a split json message

Problem:    When a json message arrives in pieces, the start is dropped and
            the decoding fails.
Solution:   Do not drop the start when it is still needed. (Kay Zheng)  Add a
            test.  Reset the timeout when something is received.
src/channel.c
src/structs.h
src/testdir/test_channel.vim
src/testdir/test_channel_pipe.py
src/version.c