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

curl-multi-exec.xml Change the function purpose #3944

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mmalferov
Copy link
Member

@mmalferov mmalferov commented Oct 27, 2024

I'm not sure I'm offering a better description, perhaps a formulation like Run the connections of handles contained in the given cURL multi handle [asynchronously] would be better, or some similar. I was just a little confused by the words sub-connections (the explanation of which is not given, although it is clear that we are talking about the connections of descriptors contained in the multi-descriptor), and the current word... current in relation to what, and multiple connections for a the current cURL handle (it sounds like a normal handle contains a lot of connections).

And I also don't know if we should add a paragraph saying that the multi handle starts many connections at once, which can improve the performance of application

I'm not sure I'm offering a better description, perhaps a formulation like `Run the connections of handles contained in the given cURL multi handle` would be better, or some similar. I was just a little confused by the words `sub-connections` (the explanation of which is not given, although it is clear that we are talking about the connections of descriptors contained in the multi-descriptor), and the `current` word... Current in relation to what?
@@ -3,9 +3,9 @@
<refentry xml:id="function.curl-multi-exec" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>curl_multi_exec</refname>
<refpurpose>Run the sub-connections of the current cURL handle</refpurpose>
<refpurpose>Run the connections of handles of a set of cURL handles</refpurpose>
Copy link
Member

Choose a reason for hiding this comment

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

What does "running a connection" mean? Shouldn't it say more or less the same as the description below?

Copy link
Member Author

Choose a reason for hiding this comment

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

You're right, the word "connections" is confusing. Probably, it should have been formulated like this:

Performs transfers on all easy handles added in cURL multi handle

English is not my native language, and again I'm not sure if I'm offering the best wording. I only know that the current function assignment is even worse ;)

Run the sub-connections of the current cURL handle

Copy link
Member

Choose a reason for hiding this comment

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

Yes, you could do that but I feel it would be better to keep it the same as below.

Suggested change
<refpurpose>Run the connections of handles of a set of cURL handles</refpurpose>
<refpurpose>Processes each of the handles in the stack</refpurpose>

@Girgias Girgias requested a review from TimWolla December 2, 2024 13:03
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.

2 participants