DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14994>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14994

https coyote connector leaving sockets in CLOSE_WAIT





------- Additional Comments From [EMAIL PROTECTED]  2003-02-24 17:19 -------
Here's a real easy test case.

1. Configure an https service.

2.
import java.io.*;
import java.text.*;
import java.util.*;
import javax.servlet.http.*;

public class test extends HttpServlet
{
    public void doGet(HttpServletRequest request, HttpServletResponse response)
throws IOException
    {
        PrintWriter out = null;
        try
        {
            response.setContentType("text/plain");
            response.setDateHeader("Expires", 0);
            response.setHeader("Pragma", "no-cache");
            out = response.getWriter();
            out.println("Hello There");
            for (int i = 0 ; i < 2000 ; i ++)
                out.println(Math.random());
        }
        catch (Exception e)
        {
            e.printStackTrace();
        }
    }
}

Fire it up.

3. Start IE or Mozilla and aim it at page.
4. Hold F5 button down for 10 seconds.
5. netstat -anp
tcp        1      0 63.127.110.16:443       63.127.110.14:4499      CLOSE_WAIT 
10860/java          
tcp        1      0 63.127.110.16:443       63.127.110.14:4498      CLOSE_WAIT 
10860/java          
tcp        1      0 63.127.110.16:443       63.127.110.14:4497      CLOSE_WAIT 
etc. etc.

Dead and stays that way for at least three hours (as long as I could leave it).

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to