diff options
author | Yang Tse <yangsita@gmail.com> | 2009-09-15 00:07:56 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-09-15 00:07:56 +0000 |
commit | f7690db37d5c0225c73b02cbadc9a4d32137c75b (patch) | |
tree | 7f7bb83dfe1b9cd30480e185dbbec1257b9a458d /lib/hostares.c | |
parent | 7e0b0763fc609f99ec8938382a8ffada9493d7ab (diff) |
Some systems poll function sets POLLHUP in revents without setting
POLLIN, and sets POLLERR without setting POLLIN and POLLOUT. In some
libcurl code execution paths this could trigger busy wait loops with
high CPU usage until a timeout condition aborted the loop.
This fix for Curl_poll adresses the above in a libcurl-wide mode.
Diffstat (limited to 'lib/hostares.c')
0 files changed, 0 insertions, 0 deletions