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

           Summary: NioReceiver doesn't close cleanly, leaving sockets in
                    CLOSE_WAIT indefinitely.
           Product: Tomcat 6
           Version: 6.0.16
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Cluster
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


We see sockets in CLOSE_WAIT when NioReceiver.stop() is called. 

Apparently, according to;

http://forum.java.sun.com/thread.jspa?threadID=478802&messageID=2231353

one must remain registered with the selector, close, then select again (with a
timeout), and then the channel is properly drained and a tcp reset occurs.

I'm working on a patch.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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