From c9a4b0861530ce7320aae34ad2394f41e2fd5e83 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Mon, 26 Jun 2023 14:45:05 +0200 Subject: [PATCH] deps: Update Code-Hex/vz to 3.0.6 This fixes a few crashes/races/... such as panic: runtime/cgo: misuse of an invalid Handle goroutine 17 [running, locked to thread]: runtime/cgo.Handle.Value(...) /usr/local/go/src/runtime/cgo/handle.go:124 github.com/Code-Hex/vz/v3.shouldAcceptNewConnectionHandler(0x1400010e000?, 0x0?, 0x14000000001?) /Users/teuf/go/pkg/mod/github.com/!code-!hex/vz/v3@v3.0.4/socket.go:231 +0x11c --- go.mod | 3 ++- go.sum | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 7074464a..d6e16ad7 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/crc-org/vfkit go 1.18 require ( - github.com/Code-Hex/vz/v3 v3.0.4 + github.com/Code-Hex/vz/v3 v3.0.6 github.com/docker/go-units v0.4.0 github.com/gin-gonic/gin v1.9.0 github.com/h2non/filetype v1.1.3 @@ -17,6 +17,7 @@ require ( ) require ( + github.com/Code-Hex/go-infinity-channel v1.0.0 // indirect github.com/bytedance/sonic v1.8.0 // indirect github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect github.com/davecgh/go-spew v1.1.1 // indirect diff --git a/go.sum b/go.sum index e2972ab5..9a3726b0 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,7 @@ -github.com/Code-Hex/vz/v3 v3.0.4 h1:oB74JSjSdIijjHkoYWG5ws7bHpx69m1w3PopFQdjFSc= -github.com/Code-Hex/vz/v3 v3.0.4/go.mod h1:+xPQOXVzNaZ4OeIIhlJFumtbFhsvRfqKwX7wuZS4dFA= +github.com/Code-Hex/go-infinity-channel v1.0.0 h1:M8BWlfDOxq9or9yvF9+YkceoTkDI1pFAqvnP87Zh0Nw= +github.com/Code-Hex/go-infinity-channel v1.0.0/go.mod h1:5yUVg/Fqao9dAjcpzoQ33WwfdMWmISOrQloDRn3bsvY= +github.com/Code-Hex/vz/v3 v3.0.6 h1:YoW0ZHbdb9G1lYDw9h/QrbBC5lAI1k9LAZMmTGR/Rpw= +github.com/Code-Hex/vz/v3 v3.0.6/go.mod h1:xUfvg1VJ5A6ZQNuzQERwXJ7l2ZdTnY6eCy9CIS6/DYQ= github.com/armon/go-proxyproto v0.0.0-20210323213023-7e956b284f0a/go.mod h1:QmP9hvJ91BbJmGVGSbutW19IC0Q9phDCLGaomwTJbgU= github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM= github.com/bytedance/sonic v1.8.0 h1:ea0Xadu+sHlu7x5O3gKhRpQ1IKiMrSiHttPF0ybECuA=