curl rebuild

This commit is contained in:
Rmys
2022-08-25 11:59:39 +03:00
parent 7e0dfb4c50
commit 04465fadc5
2 changed files with 26 additions and 1 deletions
@@ -0,0 +1,18 @@
diff --git a/lib/select.c b/lib/select.c
index c16358d56ca50..2ac07467728c6 100644
--- a/lib/select.c
+++ b/lib/select.c
@@ -310,8 +310,12 @@ int Curl_poll(struct pollfd ufds[], unsigned int nfds, timediff_t timeout_ms)
else
pending_ms = 0;
r = poll(ufds, nfds, pending_ms);
- if(r <= 0)
+ if(r <= 0) {
+ if((r == -1) && (SOCKERRNO == EINTR))
+ /* make EINTR from select or poll not a "lethal" error */
+ r = 0;
return r;
+ }
for(i = 0; i < nfds; i++) {
if(ufds[i].fd == CURL_SOCKET_BAD)
+8 -1
View File
@@ -26,7 +26,7 @@
<Dependency versionFrom="1.48.0">libnghttp2-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch>curl-krb5flags.patch</Patch> -->
<Patch>52e822173aa3cd4f610531d32fbf943f026cdca6.diff</Patch>
<Patch>curl-ac.patch</Patch>
</Patches>
</Source>
@@ -68,6 +68,13 @@
</Package>
<History>
<Update release="11">
<Date>2022-06-27</Date>
<Version>7.84.0</Version>
<Comment>Rebuild.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="10">
<Date>2022-06-27</Date>
<Version>7.84.0</Version>