We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7167301 commit 2f40464Copy full SHA for 2f40464
ring-jetty-adapter/test/ring/adapter/test/jetty.clj
@@ -816,8 +816,8 @@
816
(on-close [_ _ _ _])
817
wsp/PingListener
818
(on-ping [_ sock data]
819
- (ws/pong sock data)
820
- (swap! log conj [:ping (buf->str data)])))})]
+ (swap! log conj [:ping (buf->str (.duplicate data))])
+ (ws/pong sock data)))})]
821
(with-server handler {:port test-port}
822
(let [ws @(hato/websocket test-websocket-url
823
{:on-pong
0 commit comments