Daniel Stenberg a2c85bb8e4
Curl_pgrsTime - return new time to avoid timeout integer overflow
Setting a timeout to INT_MAX could cause an immediate error to get
returned as timeout because of an overflow when different values of
'now' were used.

This is primarily fixed by having Curl_pgrsTime() return the "now" when
TIMER_STARTSINGLE is set so that the parent function will continue using
that time.

Reported-by: Ionuț-Francisc Oancea
Fixes #5583
Closes #5847
2020-08-28 14:16:41 +02:00
..
2020-06-19 23:29:26 +02:00
2019-03-15 10:22:42 +01:00
2019-03-15 10:22:42 +01:00
2020-05-14 18:13:27 +02:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2020-08-03 23:43:24 +02:00
2019-11-08 14:51:42 +01:00
2020-04-25 11:15:49 +02:00
2020-08-24 08:41:48 +02:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2020-08-03 23:43:24 +02:00
2020-07-14 17:53:45 +02:00
2020-08-03 23:43:24 +02:00
2020-05-14 18:13:27 +02:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2019-05-17 23:24:34 +02:00
2020-07-28 23:51:17 +02:00
2019-11-08 14:51:42 +01:00
2020-02-18 07:49:15 +01:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2020-04-26 23:59:22 +02:00
2020-05-25 19:44:04 +00:00
2020-05-25 19:44:04 +00:00
2020-08-24 08:41:48 +02:00
2020-08-24 08:41:48 +02:00
2020-07-18 12:37:25 +02:00
2020-08-24 08:41:48 +02:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2019-11-08 14:51:42 +01:00
2020-02-19 08:04:35 +01:00
2020-08-24 08:41:48 +02:00
2020-07-14 08:30:17 +00:00