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

Support setting CURLOPT_BUFFERSIZE via config #3440

Merged

Conversation

Shelnutt2
Copy link
Member

This allow setting CURLOPT_BUFFERSIZE to a larger size than the default 16KiB. Specifically for reading data returned by REST, this can enable up to 512KiB chunks of data at a time. The default is now 512KiB. The user can control this with a new configuration parameter, rest.curl.buffersize.


TYPE: IMPROVEMENT
DESC: Add new config rest.curl.buffersize for setting CURLOPT_BUFFERSIZE.

This allow setting CURLOPT_BUFFERSIZE to a larger size than the default
16KiB. Specifically for reading data returned by REST, this can enable
up to 512KiB chunks of data at a time. The defautl is now 512KiB. The
user can control this with a new configuration parameter,
`rest.curl.buffersize`.
@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #20300: Support setting curl max buffersize.

test/src/unit-capi-config.cc Outdated Show resolved Hide resolved
@ihnorton ihnorton merged commit ca56dd3 into dev Aug 13, 2022
@ihnorton ihnorton deleted the sethshelnutt/sc-20300/support-setting-curl-max-buffersize branch August 13, 2022 18:51
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