]> git.ipfire.org Git - thirdparty/curl.git/commit
multi_wait: stop loop when sread() returns zero
authorDaniel Stenberg <daniel@haxx.se>
Mon, 2 Mar 2020 09:38:53 +0000 (10:38 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 2 Mar 2020 14:45:05 +0000 (15:45 +0100)
commitcf7760ab521d1f9fc6a526df7dedfb7b0c3a6f17
treebfc1b064900eb4fcc02ce85b74416fe4d32e628b
parent0caae3c4be47c7859eb1f26ffa7a0cf4b5a82160
multi_wait: stop loop when sread() returns zero

It's unclear why it would ever return zero here, but this change fixes
Robert's problem and it shouldn't loop forever...

Reported-by: Robert Dunaj
Bug: https://curl.haxx.se/mail/archive-2020-02/0011.html
Closes #5019
lib/multi.c