Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6712353

light weight http server leaks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • 7
    • 6
    • core-libs
    • None
    • generic
    • generic

      ServerImpl.java has Set<HttpConnection> allConnections
      It keeps growing for the requests that are not associated with any context.

      To reproduce

      Server:
      ~/jdk1.6.0_05/bin/java -classpath /tmp/SimpleWebServiceEndpoint.jar simplewebserviceendpoint.Server

      client:
       ~/jdk1.6.0_05/bin/java -classpath /tmp/SimpleWebServiceEndpoint.jar simplewerserviceclient.Client

      Also, a forum user claims it leaks connections. See http://forums.java.net/jive/thread.jspa?messageID=279189

            michaelm Michael McMahon
            jkotamra Jitendra Kotamraju (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: