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

http_server and downstream: fix keepalive issues #9038

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

edsiper
Copy link
Member

@edsiper edsiper commented Jul 3, 2024

This PR is still work in progress. As of now keepalive issues are fixed, however we are waiting for some unit tests to validate proper behaviors on:

  • in_http
  • in_splunk
  • in_elasticsearch
  • ...

Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

Signed-off-by: Eduardo Silva <eduardo@calyptia.com>
This patch, add extra checks per protocol version and user configuration based
on the net_setup flag passed so it can honor when to keep the connection persistent
and when it must be closed, this fixes the issues associated with different setups
for:

- http2: off
- http2: on
- net.keepalive: on
- net.keepalive: off

This PR is a continuation of work that started on troubleshooting #9010.

Signed-off-by: Eduardo Silva <eduardo@calyptia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant