From bac9a9e5c233dcf9cf734c61e4e4311fe57eccd1 Mon Sep 17 00:00:00 2001 From: Yegappan Lakshmanan Date: Tue, 19 Apr 2022 10:25:13 +0100 Subject: patch 8.2.4788: large payload for LSP message not tested Problem: Large payload for LSP message not tested. Solution: Add a test with a large LSP payload. (Yegappan Lakshmanan, closes #10223) --- src/channel.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/channel.c') diff --git a/src/channel.c b/src/channel.c index b981af4006..87dc00cd0c 100644 --- a/src/channel.c +++ b/src/channel.c @@ -2031,6 +2031,8 @@ channel_consume(channel_T *channel, ch_part_T part, int len) * Collapses the first and second buffer for "channel"/"part". * Returns FAIL if that is not possible. * When "want_nl" is TRUE collapse more buffers until a NL is found. + * When the channel part mode is "lsp", collapse all the buffers as the http + * header and the JSON content can be present in multiple buffers. */ int channel_collapse(channel_T *channel, ch_part_T part, int want_nl) -- cgit v1.2.3