Skip to content

CURLOPT_UPLOAD_BUFFERSIZE: set upload buffer size - #2896

Closed
bagder wants to merge 1 commit into
masterfrom
bagder/CURLOPT_UPLOAD_BUFFERSIZE
Closed

bagder wants to merge 1 commit into
masterfrom
bagder/CURLOPT_UPLOAD_BUFFERSIZE

Conversation

@bagder

@bagder bagder commented Aug 18, 2018

Copy link
Copy Markdown
Member

This is step 3 of #2888.

Fixes #2888

@bagder bagder added feature-window A merge of this requires an open feature window performance labels Aug 18, 2018
@bagder

bagder commented Aug 21, 2018

Copy link
Copy Markdown
Member Author

When this lands, we can also consider upping the size that the curl tool uses - since it only does one handle at a time it can easily afford using a larger buffer.

@danielgustafsson danielgustafsson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, one small typo found

This is just treated as a request, not an order. You cannot be guaranteed to
actually get the given size.

The ulpoad buffer size is by default 64 kilobytes. The maximum buffer size

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

s/ulpoad/upload/

@bagder
bagder force-pushed the bagder/CURLOPT_UPLOAD_BUFFERSIZE branch from 4910cea to 23e421b Compare September 3, 2018 21:30
@bagder

bagder commented Sep 3, 2018

Copy link
Copy Markdown
Member Author

Thanks, fixed that and rebased.

@bagder bagder removed the feature-window A merge of this requires an open feature window label Sep 6, 2018
@bagder bagder closed this in 2825f46 Sep 6, 2018
@bagder
bagder deleted the bagder/CURLOPT_UPLOAD_BUFFERSIZE branch September 6, 2018 08:55
@lock lock Bot locked as resolved and limited conversation to collaborators Dec 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Development

Successfully merging this pull request may close these issues.

2 participants