Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix overflow in sending large STDIN. #187

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kape1395
Copy link
Contributor

Send large STDIN messages in chunks to avoid an overflow at the port, as it uses {packet, 2} for framing the messages.

Closes #186.

Signed-off-by: Karolis Petrauskas <[email protected]>
@Juliusan
Copy link

I've tested it in my use case and it fixes my problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

exec gen_server stops if too much data is sent in one command
2 participants