fix possible endless loop while polling curl socket (#5589)
This commit is contained in:
parent
d41af3f1e2
commit
5d3f95535a
@ -161,6 +161,7 @@ int pollSocketUntilEventOrTimeout(
|
||||
result = poll(&poller, 1, pollTimeoutMs);
|
||||
if (result < 0 && EINTR == errno)
|
||||
{
|
||||
now = std::chrono::steady_clock::now();
|
||||
continue;
|
||||
}
|
||||
#elif defined(AZ_PLATFORM_WINDOWS)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user