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

Support 101 switching protocol in jdk.httpserver

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • 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.


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: