From 21e7e839626d300e6608a80ef42d0fb53a9f5ce8 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Thu, 2 Jan 2025 19:40:06 +0000 Subject: [PATCH] Update wsrpc module This update fixes a deadlock, prevents a data race, and causes immediate client disconnection if a ping write errors. --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 6b579412e..82714bd52 100644 --- a/go.mod +++ b/go.mod @@ -34,7 +34,7 @@ require ( github.com/jessevdk/go-flags v1.5.0 github.com/jrick/bitset v1.0.0 github.com/jrick/logrotate v1.0.0 - github.com/jrick/wsrpc/v2 v2.3.5 + github.com/jrick/wsrpc/v2 v2.3.7 go.etcd.io/bbolt v1.3.11 golang.org/x/crypto v0.27.0 golang.org/x/sync v0.8.0 diff --git a/go.sum b/go.sum index adcf39946..21c5db610 100644 --- a/go.sum +++ b/go.sum @@ -102,8 +102,8 @@ github.com/jrick/bitset v1.0.0 h1:Ws0PXV3PwXqWK2n7Vz6idCdrV/9OrBXgHEJi27ZB9Dw= github.com/jrick/bitset v1.0.0/go.mod h1:ZOYB5Uvkla7wIEY4FEssPVi3IQXa02arznRaYaAEPe4= github.com/jrick/logrotate v1.0.0 h1:lQ1bL/n9mBNeIXoTUoYRlK4dHuNJVofX9oWqBtPnSzI= github.com/jrick/logrotate v1.0.0/go.mod h1:LNinyqDIJnpAur+b8yyulnQw/wDuN1+BYKlTRt3OuAQ= -github.com/jrick/wsrpc/v2 v2.3.5 h1:CwdycaR/df09iGkPMXs1FxqAHMCQbdAiTGoHfOrtuds= -github.com/jrick/wsrpc/v2 v2.3.5/go.mod h1:7oBeDM/xMF6Yqy4GDAjpppuOf1hm6lWsaG3EaMrm+aA= +github.com/jrick/wsrpc/v2 v2.3.7 h1:+dr9EuNYTZpiVv0/kT20sgx2273XBzru5rmGymSi6I4= +github.com/jrick/wsrpc/v2 v2.3.7/go.mod h1:Ha6uT2AOjHkaiBWMjWfWUFvjDrppbfy0ghLKxPPYmY4= github.com/klauspost/cpuid/v2 v2.2.8 h1:+StwCXwm9PdpiEkPyzBXIy+M9KUb4ODm0Zarf1kS5BM= github.com/klauspost/cpuid/v2 v2.2.8/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=