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

--- Comment #19 from gregh <gregh3...@gmail.com> ---
if you check the private void add{..}

what did the ok do?

boolean ok = false;
synchronized (this) {
    // Add socket to the list. Newly added sockets will wait
    // at most for pollTime before being polled. Don't add the
    // socket once the poller has stopped but destroy it straight
    // away
    if (pollerRunning && addList.add(socket, timeout, flags)) {
        ok = true;
        this.notify();
    }
}
if (!ok) {
    // Can't do anything: close the socket right away
    boolean comet = connections.get(
    Long.valueOf(socket)).isComet();
    if (!comet || (comet && !processSocket(
        socket, SocketStatus.ERROR))) {
        closeSocket(socket);
    }
}

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