AMQ-9383: Copy transport options before sending in introspection setter

(cherry picked from commit f4be8a6806206df3c9ddb6566c2e48eff767d55d)
This commit is contained in:
JB Onofré 2023-11-08 15:01:17 +01:00
parent 7115a89533
commit 3af9001e25

View File

@ -159,7 +159,7 @@ public class WSServlet extends WebSocketServlet implements BrokerServiceAware {
proxy = new WSTransportProxy(remoteAddress, transport);
proxy.setPeerCertificates(request.getCertificates());
proxy.setTransportOptions(transportOptions);
proxy.setTransportOptions(new HashMap<>(transportOptions));
response.setAcceptedSubProtocol(proxy.getSubProtocol());
} catch (Exception e) {