]> granicus.if.org Git - curl/commit
Revert Joshua Kwan's patch committed 11 Sep 2009.
authorYang Tse <yangsita@gmail.com>
Tue, 15 Sep 2009 00:07:25 +0000 (00:07 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 15 Sep 2009 00:07:25 +0000 (00:07 +0000)
commit7e0b0763fc609f99ec8938382a8ffada9493d7ab
tree7489e343ec8ec6d8e6aa88a7789e44ca08e44bea
parentc67c4e7095183a76d218f3e83b1a8392cc2bc676
Revert Joshua Kwan's patch committed 11 Sep 2009.

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.

The reverted patch addressed the above issue for a very specific case,
when awaiting c-ares to resolve. A libcurl-wide fix superceeds this one.

http://cool.haxx.se/cvs.cgi/curl/lib/select.c.diff?r1=1.52&r2=1.53
lib/hostares.c