jwebserver should set request timeout

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 18
    • Affects Version/s: 18
    • Component/s: core-libs
    • None
    • b27

        Since jwebserver is configured with a single thread executor it is important to ensure this thread does not block unnecessarily. Unfortunately, any https request to the server causes such a block because the server is waiting for a plaintext http request header block but receives the initial binary handshake message for TLS.

        The "sun.net.httpserver.maxReqTime" system property can be set to limit the time waiting for a request to arrive. Given that the server is only serving static GET requests, a reasonable value to set for this property could be a few seconds.

              Assignee:
              Julia Boes (Inactive)
              Reporter:
              Michael McMahon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: