Comments (3)
thanks for reporting this. it has been assigned
from fluent-bit.
For providing an option to turn on/off and turned off by default, this issue could be resolved. However, if using the curl with enabled HTTP2, we need to implement another mechanism to return back the response during the HTTP2 connections. I'm jumping on it.
from fluent-bit.
I checked the curl code and I found that:
/* On HTTP 1.1, when connection is not to get closed, but no
Content-Length nor Transfer-Encoding chunked have been
received, according to RFC2616 section 4.4 point 5, we
assume that the server will close the connection to
signal the end of the document. */
Sited from: https://github.com/curl/curl/blob/9acf759455f96636bc2132339fc53f4094957be7/lib/http.c#L3494-L3506
This indicates that in_http always closes its connections because just returning HTTP status code and no body. This leads to disconnect HTTP connections on in_http plugin as per RFC2616 section 4.4 point 5.
ref: https://datatracker.ietf.org/doc/html/rfc2616#section-4.4
By contrast, in_splunk should be needed to return some of the body which mustn't be an empty.
So, curl itself always assumed that this connection shouldn't be closed when enabling keepalive.
Therefore, if we need to restore the previous behavior, we need to provide an option to turn on/off keepalive instead of always turned on.
from fluent-bit.
Related Issues (20)
- Seeing Broken Connection error for prometheus_remote_write HOT 1
- [ warn] [filter:kubernetes:kubernetes.0] invalid pattern for given tag kube.face HOT 4
- Fluentbit Version 3.1.2 and later: Too many open files error results in massive loss of loglines HOT 3
- tls.verify_hostname seems not working in [OUTPUT] forward HOT 23
- UDP input plugin doesn't handle logs which are > Chunk_Size and < Buffer_Size HOT 1
- support unix timestamp in parser HOT 2
- [error] [/src/fluent-bit/plugins/in_kmsg/in_kmsg.c:311 errno=1] Operation not permitted HOT 1
- Allow you to specify the port when working with the kinesis plugin. HOT 2
- MQTT input plugin does not accept events over 1KB of size HOT 2
- multiple multiline logic question
- [systemd] Crash with SIGBUS on log rotation HOT 10
- Metrics counter is 0 for fluentbit_input_bytes_total and fluentbit_input_records_total with additional rewrite_tag filter
- Publish to ECR public galleries HOT 2
- [error] [config] section 'output' is missing the 'name' property
- Parsing the Same Log in Different Ways HOT 4
- [error] [config] error in C:\conf\fluent-bit.conf:5: undefined value - check config is in valid classic format HOT 1
- Build fails with `-DFLB_HTTP_SERVER=No`
- [v3.1.5] Reserve_Data = On not functioning as expected on Regex Parsers HOT 2
- README.md links to integration tests which are disabled and are failing
- Memory leak in in_emitter mem_buf when appending metric HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluent-bit.