diff --git a/CHANGES b/CHANGES
index 77df717345662c3bcf857ebbfb3b3b95f727905f..47c76f7143584df2336b432283d1c4d3ad34711a 100644
--- a/CHANGES
+++ b/CHANGES
@@ -8,6 +8,13 @@
 
 
 
+Daniel (13 November 2005)
+- Thanks to this nice summary of poll() implementations:
+  http://www.greenend.org.uk/rjk/2001/06/poll.html and further tests by Eugene
+  Kotlyarov, we now know that cygwin's poll returns only POLLHUP on remote
+  connectin closure so we check for that case (too) and re-enable poll for
+  cygwin builds.
+
 Daniel (12 November 2005)
 - Eugene Kotlyarov found out that cygwin's poll() function isn't doing things
   right: http://curl.haxx.se/mail/archive-2005-11/0045.html so we now disable
diff --git a/RELEASE-NOTES b/RELEASE-NOTES
index bc2037a0a9188a83f6cf5ac3bb83fc0b3bf1ef9c..0bfb637ac5cd135e2b458f6919e077911f740d6e 100644
--- a/RELEASE-NOTES
+++ b/RELEASE-NOTES
@@ -18,7 +18,7 @@ This release includes the following changes:
 
 This release includes the following bugfixes:
 
- o don't use poll() on cygwin, it is defective
+ o fixed libcurl's use of poll() on cygwin
  o the GnuTLS code didn't support client certificates
  o TFTP over IPv6 works
  o no reverse lookups on IP addresses when ipv6-enabled
diff --git a/configure.ac b/configure.ac
index 50fa2959cfd637ee90db4a01bcb01a0c08dbbe2a..629f0ba2863382ab2f853b8b9c4d5ffffac62c6d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1591,10 +1591,10 @@ AC_CHECK_DECL(basename, ,
 #endif
 )
 
-AC_MSG_CHECKING([if we are Mac OS X or cygwin to disable poll])
+AC_MSG_CHECKING([if we are Mac OS X (to disable poll)])
 disable_poll=no
 case $host in
-  *-*-darwin* | *-*-cygwin)
+  *-*-darwin*)
     disable_poll="yes";
     ;;
   *)
diff --git a/lib/select.c b/lib/select.c
index 634f8efda909af9b43029f5c0fdb66d730314a7f..f370b11101ebe852aa1dfc19105392bee3e4b7b7 100644
--- a/lib/select.c
+++ b/lib/select.c
@@ -104,7 +104,7 @@ int Curl_select(curl_socket_t readfd, curl_socket_t writefd, int timeout_ms)
   ret = 0;
   num = 0;
   if (readfd != CURL_SOCKET_BAD) {
-    if (pfd[num].revents & POLLIN)
+    if (pfd[num].revents & (POLLIN|POLLHUP))
       ret |= CSELECT_IN;
     if (pfd[num].revents & POLLERR)
       ret |= CSELECT_ERR;