Skip to content

http_server and downstream: fix keepalive issues#9038

Merged
edsiper merged 2 commits intomasterfrom
downstream-keepalive
Jul 3, 2024
Merged

http_server and downstream: fix keepalive issues#9038
edsiper merged 2 commits intomasterfrom
downstream-keepalive

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.

edsiper added 2 commits July 3, 2024 23:07
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