You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot get the paused state of curl easy handle. #2588
We need to pause/unpause the connection. Actual connection is handled in worker thread.
Problem
When main thread request pause/unpause, the event is dispatched into worker thread. At this moment, I need to know whether curl handle is paused or not to avoid unnecessary curl_easy_pause() which end up of calling of Curl_updatesocket(). Currently we manage that by flag aside with easy handle but ideally it's better to get the information from curl handle.
I prefer curl_easy_getinfo, since that makes it easier for applications to soft-fail in run-time if this ability isn't present in their particular version of the library...
Thanks, but this description sounds as if you're asking for a new feature/change. We use this tracker for bugs and issues only, we put ideas to work on in the future in the TODO document. We basically drown in good ideas so they don't do much use in our tracker.
If you really want to see this happen, start working on an implementation and submit a PR for it or join the mailing list and talk up more interest for it and see what help from others you can get!
Activity
basuke commentedon May 18, 2018
If I implement this one, which is better? adding new function or add to getinfo?
bagder commentedon May 19, 2018
I prefer
curl_easy_getinfo, since that makes it easier for applications to soft-fail in run-time if this ability isn't present in their particular version of the library...bagder commentedon May 24, 2018
Thanks, but this description sounds as if you're asking for a new feature/change. We use this tracker for bugs and issues only, we put ideas to work on in the future in the TODO document. We basically drown in good ideas so they don't do much use in our tracker.
If you really want to see this happen, start working on an implementation and submit a PR for it or join the mailing list and talk up more interest for it and see what help from others you can get!