Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
491e026c
Commit
491e026c
authored
12 years ago
by
Kamil Dudka
Browse files
Options
Downloads
Patches
Plain Diff
easy: do not ignore poll() failures other than EINTR
parent
83a42ee2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
RELEASE-NOTES
+1
-0
1 addition, 0 deletions
RELEASE-NOTES
lib/easy.c
+10
-2
10 additions, 2 deletions
lib/easy.c
with
11 additions
and
2 deletions
RELEASE-NOTES
+
1
−
0
View file @
491e026c
...
...
@@ -53,6 +53,7 @@ This release includes the following bugfixes:
o docs: updates HTML index and general improvements
o curlbuild.h.dist: enhance non-configure GCC ABI detection logic
o sasl: Fixed null pointer reference when decoding empty digest challenge [8]
o easy: do not ignore poll() failures other than EINTR
This release includes the following known bugs:
...
...
This diff is collapsed.
Click to expand it.
lib/easy.c
+
10
−
2
View file @
491e026c
...
...
@@ -441,11 +441,19 @@ CURLcode curl_easy_perform(CURL *easy)
while
(
!
done
&&
!
mcode
)
{
int
still_running
;
int
ret
;
mcode
=
curl_multi_wait
(
multi
,
NULL
,
0
,
1000
,
NULL
);
mcode
=
curl_multi_wait
(
multi
,
NULL
,
0
,
1000
,
&
ret
);
if
(
mcode
==
CURLM_OK
)
{
if
(
ret
==
-
1
)
{
/* poll() failed not on EINTR, indicate a network problem */
code
=
CURLE_RECV_ERROR
;
break
;
}
if
(
mcode
==
CURLM_OK
)
mcode
=
curl_multi_perform
(
multi
,
&
still_running
);
}
/* only read 'still_running' if curl_multi_perform() return OK */
if
((
mcode
==
CURLM_OK
)
&&
!
still_running
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment