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

[collectd 6] Port #3938 for collectd 6 #3999

Merged
merged 6 commits into from
Jun 8, 2022

Conversation

matwey
Copy link
Contributor

@matwey matwey commented May 2, 2022

ChangeLog: InfluxDB: support HTTP endpoint

CURLOPT_POSTFIELDSIZE allows to specify the data size, which is known in
advance and equals to cb->send_buffer_fill. When CURLOPT_POSTFIELDSIZE is not
set (or set to -1), then curl evaluates data size using strlen() function,
which have O(N) complexity, so we save a few CPU cycles here.

Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
@matwey matwey requested a review from a team as a code owner May 2, 2022 21:00
@collectd-bot collectd-bot added this to the 6.0 milestone May 2, 2022
@matwey matwey changed the title [collectd-6.0] Port #3938 for collectd-6.0 [collectd-6] Port #3938 for collectd-6 May 2, 2022
matwey added 3 commits May 3, 2022 15:33
Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
@matwey matwey changed the title [collectd-6] Port #3938 for collectd-6 [collectd 6] Port #3938 for collectd 6 May 3, 2022
@matwey
Copy link
Contributor Author

matwey commented May 3, 2022

Related to #3938

Copy link
Member

@mrunge mrunge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

@mrunge mrunge merged commit 956cc51 into collectd:collectd-6.0 Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants