Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-757

`/.well-known/*` endpoint responses only once

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Done
    • 1.13.0, Aluminium SR2
    • 1.13.0, Aluminium SR3
    • restconf-nb
    • None

    Description

      /.well-know/* REST endpoint introduced in NETCONF-499 response only once. For every other request it is stucked.

      javax.ws.rs.core.Response.status(Status.OK) creates new OutboundMessageContext with CommittingOutputStream instance, which is closed during the process of sending the response to client.
      Closed output-stream causes

      java.lang.IllegalStateException: The output stream has already been closed.
      

      when `/.well-known/*` endpoint is requesting multiple times, which makes the endpoint working only once.

      Attachments

        Issue Links

          # Subject Branch Project Status CR V

          Activity

            People

              mibanik Michal Banik
              mibanik Michal Banik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: