https://issues.apache.org/bugzilla/show_bug.cgi?id=54513

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Library                     |Connectors
            Version|unspecified                 |trunk
            Product|Tomcat Native               |Tomcat 8
   Target Milestone|---                         |----

--- Comment #11 from Mark Thomas <ma...@apache.org> ---
(In reply to comment #10)
> Not sure what you mean by double increment. Is it?
> 
>         p->set[n++]   = (jlong)(fd->rtnevents);
>         p->set[n++]   = P2J(fd->client_data);
> 
> That should be fine.
> The returned array consist of pair of values odd being event and even being
> the socket. It was always like that.
> 
> But you are right, there is a bug. Returned number should be n/2 not n.
> I'll fix that.

Thanks.

> If you create a shortcut in Java which calls .pollset(...)
> and divide by two in case the value is > 0 doesn't that help?

Already doing this locally. That was how I moved past this issue and found the
others.

> Anyhow, I'll fix the native and create test 1.1.27-dev binaries for further
> test.

Perfect. I see your commit, so I'm going to move this back to Tomact 8 to track
the remaining AprEndpoint issies.

-- 
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