-
Notifications
You must be signed in to change notification settings - Fork 31
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
socket.syswrite return is value not checked; sent data can be truncated #30
Labels
Comments
AStevensTaylor
pushed a commit
to AStevensTaylor/logstash-output-tcp
that referenced
this issue
Oct 30, 2017
AStevensTaylor
pushed a commit
to AStevensTaylor/logstash-output-tcp
that referenced
this issue
Oct 30, 2017
AStevensTaylor
pushed a commit
to AStevensTaylor/logstash-output-tcp
that referenced
this issue
Oct 30, 2017
I'm also experiencing message truncation with TLS enabled. I noticed there are 2 open PRs around this issue. Are there plans to incorporate a fix in the near future? Also, I found a commit in the Lumberjack-related coded that fixed a similar issue: elastic/logstash-forwarder#384 Thanks! |
raphaelsolarski
added a commit
to raphaelsolarski/logstash-output-tcp
that referenced
this issue
Aug 4, 2021
…PSocket.syswrite in loop. Fixes logstash-plugins#30 logstash-plugins#33 where messages longer than jruby-openssl OpenSSL::Buffering::BLOCK_SIZE were truncated.
raphaelsolarski
added a commit
to raphaelsolarski/logstash-output-tcp
that referenced
this issue
Aug 5, 2021
…PSocket.syswrite in loop. Fixes logstash-plugins#30 logstash-plugins#33 where messages longer than jruby-openssl OpenSSL::Buffering::BLOCK_SIZE were truncated.
A 6.1.1 version of plugin addresses this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Experiencing some issue using TLS.
Payloads are truncated after exactly 16k.
TLS RFC sets the record size to 16k, so with one write only 16k can be written.
Small ruby PoC to demonstrate:
output:
The text was updated successfully, but these errors were encountered: