0
0
mirror of https://github.com/vim/vim.git synced 2025-10-01 04:54:07 -04:00

patch 8.1.0818: MS-Windows: cannot send large data with ch_sendraw()

Problem:    MS-Windows: cannot send large data with ch_sendraw().
Solution:   Split write into several WriteFile() calls. (Yasuhiro Matsumoto,
            closes #3823)
This commit is contained in:
Bram Moolenaar
2019-01-24 23:11:49 +01:00
parent 99531a7604
commit 240583869a
6 changed files with 51 additions and 13 deletions

View File

@@ -2467,6 +2467,10 @@ typedef enum {
# define MAX_OPEN_CHANNELS 0
#endif
#if defined(WIN32)
# define MAX_NAMED_PIPE_SIZE 65535
#endif
/* Options for json_encode() and json_decode. */
#define JSON_JS 1 /* use JS instead of JSON */
#define JSON_NO_NONE 2 /* v:none item not allowed */