[NETCONF-757] `/.well-known/*` endpoint responses only once Created: 10/Feb/21 Updated: 11/Feb/21 Resolved: 11/Feb/21 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | 1.13.0, Aluminium SR2 |
| Fix Version/s: | 1.13.0, Aluminium SR3 |
| Type: | Bug | Priority: | Medium |
| Reporter: | Michal Banik | Assignee: | Michal Banik |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
/.well-know/* REST endpoint introduced in 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. 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. |