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

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

XMLWordPrintable

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

      /.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.

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

              Created:
              Updated:
              Resolved: