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

Konstantin Kolinko <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Konstantin Kolinko <[email protected]> ---
The following are remarkable points in this stacktrace:

> org.apache.tomcat.util.net.NioEndpoint.processSocket(NioEndpoint.java:730)
> org.apache.tomcat.util.net.NioEndpoint$Poller.add(NioEndpoint.java:1008)

NioEndpoint$Poller.add(NioChannel socket, int interestOps):
[[[
            if (close) {
                processSocket(socket, SocketStatus.STOP, false);
            }
]]]

> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.longPoll(Http11NioProtocol.java:277)

[[[
            } else {
                //...
                socket.getSocket().getPoller().add(socket.getSocket());
]]]

so this happens with an application that uses Comet (those event() calls), when
longPoll() is processed, but endpoint is being closed at the same time.

It looks like SocketStatus.STOP value is not being honored. The poller#close
flag is inaccessible from outside.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to