https://bz.apache.org/bugzilla/show_bug.cgi?id=62751

Rainer Jung <rainer.j...@kippdata.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Rainer Jung <rainer.j...@kippdata.de> ---
Thanks for your report and analysis.
This was a regression in version 1.2.44 on platforms that are non-Windows and
do support poll().
The following fix was committed in r1841817 and will be part of version 1.2.46:

Index: native/common/jk_connect.c
===================================================================
--- native/common/jk_connect.c  (revision 1841810)
+++ native/common/jk_connect.c  (working copy)
@@ -274,7 +274,7 @@
         socklen_t rclen = (socklen_t)sizeof(rc);
         pfd.fd = sd;
         pfd.events = POLLOUT;
-        rc = poll(&pfd, 1, timeout * 1000);
+        rc = poll(&pfd, 1, timeout);
         if (rc <= 0) {
             /* Save errno */
             int err = errno;

Regards,

Rainer

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to