mirror of https://github.com/apache/activemq.git
AMQ-9383: Copy transport options before sending in introspection setter
(cherry picked from commit f4be8a6806
)
This commit is contained in:
parent
f3c893ef48
commit
526c2b07ba
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue