Merge pull request #1113 from jbonofre/AMQ-9383

AMQ-9383: Copy transport options before sending in introspection setter
This commit is contained in:
JB Onofré 2023-11-09 15:50:40 +01:00 committed by GitHub
commit d23da10da8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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