Support 101 switching protocol in jdk.httpserver

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: core-libs
    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      Add support for switching protocols. Currently, the HttpServer closes the input/output streams after sending a 101 status code, preventing connection upgrades.

      To add support, we need to add logic to ExchangeImpl to detect incoming upgrade requests and the server responding with a 101 code with proper upgrade sematics. When these condition are met, an UndefLengthOutputStream should be used for the connection.


            Assignee:
            Unassigned
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: