Skip to content

multi_fdset must not report only the wakeup socket #22050

Description

@icing

I did this

When a multi handle has no other sockets to monitor, calls like curl_multi_fdset() must not return the "wakeup" socket as the only one. This would let the application wait endlessly (or until someone calls curl_multi_wakeup().

reported-by: Bryan Henderson (libcurl dev list)

I expected the following

the returned fdset to be empty when there is nothing to monitor.

curl/libcurl version

curl 8.20.0

operating system

any

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions