Skip to content

Syscall.CallAsync struggles with large stdins #225

Description

@theindexer

Specifically on Linux, if I send more than 4097 bytes to stdin I get ch_sendraw(): write failed
If the command produces output, then vim hangs indefinitely, before even displaying the ch_sendraw error.

This looks suspiciously like vim/vim#2548

Tried to patch it with natebosch/vim-lsc#67 (comment)

but I don't actually know what I'm doing in vimscript and just ended up with some channel closed errors after the first chunk. Also I could be barking up the wrong tree.

For me personally, I'm no longer using stdin so I'm no longer affected by this but still seems like a bug?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions