-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Error with TLS and require_ack_response #1554
Comments
@nurse How about this? Do we need to consider more points? |
@repeatedly This code doesn't use socket specific options for recv. Therefore just |
Hmm, what do you mean by that? 'recv' is the method that is missing from SSLSocket and what causes the error with TLS transport? |
@mpeltonen Oops sorry, it is typo. It must be |
Ah, right! I was also thinking that maybe just recv -> read would work, but was not sure about the semantics. Would appreciate 0.14.16 soon with this change :) |
We will merge the patch soon: #1560 |
Call proper method for each connection type. fix #1554
Trying to setup (fluentd 14.14) out_forward plugin with TLS and at-least-once semantics. When I set
require_ack_response true
, I get this:It looks like the reason is that Ruby's SSLSocket interface is different from TCPSocket (See for example https://bugs.ruby-lang.org/issues/12077 and https://bugs.ruby-lang.org/issues/8126).
There is probably a better way to fix this, but this seems to fix the issue for my case at least:
The text was updated successfully, but these errors were encountered: