diff --git a/go.mod b/go.mod index 1e7e045..dc91c92 100644 --- a/go.mod +++ b/go.mod @@ -4,8 +4,8 @@ go 1.23.0 require ( go.etcd.io/bbolt v1.3.11 - go.sia.tech/core v0.4.7-0.20240913175638-6696d74dd5a1 - go.sia.tech/mux v1.2.0 + go.sia.tech/core v0.4.7-0.20240913225821-674411c09a6c + go.sia.tech/mux v1.1.2-0.20240913225557-0b34c6c56b6d go.uber.org/zap v1.27.0 golang.org/x/crypto v0.27.0 lukechampine.com/frand v1.4.2 diff --git a/go.sum b/go.sum index 3ec29fe..9aa9900 100644 --- a/go.sum +++ b/go.sum @@ -8,10 +8,10 @@ github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKs github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= go.etcd.io/bbolt v1.3.11 h1:yGEzV1wPz2yVCLsD8ZAiGHhHVlczyC9d1rP43/VCRJ0= go.etcd.io/bbolt v1.3.11/go.mod h1:dksAq7YMXoljX0xu6VF5DMZGbhYYoLUalEiSySYAS4I= -go.sia.tech/core v0.4.7-0.20240913175638-6696d74dd5a1 h1:RzIIIRZXrA1S30J3e+AM9TVs1FsdQHJFs64oj3xKywY= -go.sia.tech/core v0.4.7-0.20240913175638-6696d74dd5a1/go.mod h1:S7IRFqUy/vo2+oPtDq/o4rlAegNyoYQ7TWqsulE9R+w= -go.sia.tech/mux v1.2.0 h1:ofa1Us9mdymBbGMY2XH/lSpY8itFsKIo/Aq8zwe+GHU= -go.sia.tech/mux v1.2.0/go.mod h1:Yyo6wZelOYTyvrHmJZ6aQfRoer3o4xyKQ4NmQLJrBSo= +go.sia.tech/core v0.4.7-0.20240913225821-674411c09a6c h1:k7g2wbh67jAIa8wwHTJrPhl+fXtnjKxl/soG/kupLNI= +go.sia.tech/core v0.4.7-0.20240913225821-674411c09a6c/go.mod h1:U9XwFMP8ueVkh/Ut80qD/mYYSE7YK8NsSKftpujTwlk= +go.sia.tech/mux v1.1.2-0.20240913225557-0b34c6c56b6d h1:JVsC/2tgWpl8lxm/QCfnYxeNeyyXBhKBbykKkarvoPI= +go.sia.tech/mux v1.1.2-0.20240913225557-0b34c6c56b6d/go.mod h1:Yyo6wZelOYTyvrHmJZ6aQfRoer3o4xyKQ4NmQLJrBSo= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= diff --git a/rhp/v4/server.go b/rhp/v4/server.go index 2417c63..1091e2a 100644 --- a/rhp/v4/server.go +++ b/rhp/v4/server.go @@ -931,6 +931,7 @@ func (s *Server) handleHostStream(stream net.Conn, log *zap.Logger) { log.Debug("failed to read RPC ID", zap.Error(err)) return } + log = log.With(zap.Stringer("rpc", id)) switch id { case rhp4.RPCSettingsID: