-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
housekeeping: Add housekeeping for connections #1641
Conversation
Coverage decreased (-0.2%) to 75.166% when pulling 6ad9973851a2e69c865142848f98deb24f14fa52 on maxdymond:sendhttp2pings into 7121a99 on curl:master. |
Some thoughts so far:
|
Naming: "curl_conn_upkeep" has been discussed on IRC and could be a good option. |
I have added a function for the multi API and have it running. Also setting for keep-alive interval time. Thanks to this work by @maxdymond. @bagder: Can you explain little more your second point above and how it should work? |
@vpeter4: I seem to have lost your patch; any chance you could link it here please? 😄 |
You mean https://pastebin.com/ZrNwwEa8 ? It is everything I used (it includes your changes too). |
@vpeter4 Perfect, thanks! |
6ad9973
to
e165edf
Compare
I freshened this pull request. @bagder: regarding your comments:
|
856cfe1
to
edac466
Compare
Sure, I have no problems with taking baby steps. We can take that on in a follow-up work.
I was primarily thinking of the mandatory pieces: a man page for the function and setopt that describes what they do and why someone would want to use them, and these man pages should ideally include at least a small example snippets (as all our man pages should). Of course I would consider a separate example code for docs/examples/ a great addition as well. Supposedly we would add at least one test case for this feature anyone so code has to be written that uses it, which then could be the basis for an example... The example doesn't have to be included in the original PR either, we can work on that separately after the feature lands. |
115aac3
to
552c355
Compare
🎉 |
552c355
to
b049588
Compare
Docs updated for 7.62.0. |
b049588
to
3848cbe
Compare
Rebased for 7.62.0. I set the dates as 31/Oct as I believe that's the correct date! |
3848cbe
to
de02d13
Compare
Add functionality so that protocols can do custom keepalive on their connections, when an external API function is called. Add docs for the new options in 7.62.0
de02d13
to
a23d6f2
Compare
Thanks! |
Add functionality so that protocols can do custom keepalive on their connections, when an external API function is called.
I'm not expecting this pull request to make it in as is - I've created this to discuss the direction going forward.