mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:13:34 +03:00
curl_multi_fdset: include the shutdown connections in the set
They were previously missing.
Follow-up from c9b95c0bb3
Fixes #15156
Reported-by: Christopher Dannemiller
Closes #16049
This commit is contained in:
parent
c80715169c
commit
7c2b325004
5 changed files with 58 additions and 11 deletions
|
|
@ -488,7 +488,7 @@ CURLcode Curl_pollfds_add_ps(struct curl_pollfds *cpfds,
|
|||
return CURLE_OK;
|
||||
}
|
||||
|
||||
void Curl_waitfds_init(struct curl_waitfds *cwfds,
|
||||
void Curl_waitfds_init(struct Curl_waitfds *cwfds,
|
||||
struct curl_waitfd *static_wfds,
|
||||
unsigned int static_count)
|
||||
{
|
||||
|
|
@ -499,7 +499,7 @@ void Curl_waitfds_init(struct curl_waitfds *cwfds,
|
|||
cwfds->count = static_count;
|
||||
}
|
||||
|
||||
static unsigned int cwfds_add_sock(struct curl_waitfds *cwfds,
|
||||
static unsigned int cwfds_add_sock(struct Curl_waitfds *cwfds,
|
||||
curl_socket_t sock, short events)
|
||||
{
|
||||
int i;
|
||||
|
|
@ -524,7 +524,7 @@ static unsigned int cwfds_add_sock(struct curl_waitfds *cwfds,
|
|||
return 1;
|
||||
}
|
||||
|
||||
unsigned int Curl_waitfds_add_ps(struct curl_waitfds *cwfds,
|
||||
unsigned int Curl_waitfds_add_ps(struct Curl_waitfds *cwfds,
|
||||
struct easy_pollset *ps)
|
||||
{
|
||||
size_t i;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue