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

can cpr set keepalive writetimeout readtimeout when sending a post request? #1077

Open
carlwang99 opened this issue Jul 6, 2024 · 5 comments

Comments

@carlwang99
Copy link

Description

or can i set custom-defined params to curl_opts

Example/How to Reproduce

just a question

Possible Fix

No response

Where did you get it from?

GitHub (branch e.g. master)

Additional Context/Your Environment

  • OS: ubuntu
  • Version: 22.04
@carlwang99
Copy link
Author

and set tcp_nodelay_ to true is very important in our senario

@carlwang99
Copy link
Author

or i need to implement the sessionparams setting myself?

@COM8
Copy link
Member

COM8 commented Jul 10, 2024

@carlwang99 thanks for reporting.

Which curl options do you want to be able to set precisely?

There is a workaround for it: #1057 (comment)
You can interface with the underlying curl handle directly.

@carlwang99
Copy link
Author

i want to set TCP_NODELAY by myself
image
and why set tcpkeeplive default to 1 when libcurl version >= 7.25.0
image

@carlwang99
Copy link
Author

i also hope that min/max threads of the threadpool can be set at the outside project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants