From 53e33cd6ee469eb6faafc1700e99a7a4c83ec1e4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 6 Aug 2021 07:03:23 +0000 Subject: [PATCH] Bump google.golang.org/grpc from 1.39.0 to 1.39.1 in /pfcpiface Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.39.0 to 1.39.1. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.39.0...v1.39.1) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pfcpiface/go.mod | 2 +- pfcpiface/go.sum | 4 ++-- .../google.golang.org/grpc/internal/transport/http2_client.go | 4 +++- pfcpiface/vendor/google.golang.org/grpc/server.go | 1 + pfcpiface/vendor/google.golang.org/grpc/version.go | 2 +- pfcpiface/vendor/modules.txt | 2 +- 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/pfcpiface/go.mod b/pfcpiface/go.mod index c5d68ce6c..71f901d52 100644 --- a/pfcpiface/go.mod +++ b/pfcpiface/go.mod @@ -11,6 +11,6 @@ require ( github.com/prometheus/client_golang v1.11.0 github.com/wmnsk/go-pfcp v0.0.9-0.20210129064645-e1b1f34ebd9f google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 - google.golang.org/grpc v1.39.0 + google.golang.org/grpc v1.39.1 google.golang.org/protobuf v1.27.1 ) diff --git a/pfcpiface/go.sum b/pfcpiface/go.sum index 35ecd6d7e..7e7b1732d 100644 --- a/pfcpiface/go.sum +++ b/pfcpiface/go.sum @@ -229,8 +229,8 @@ google.golang.org/grpc v1.28.1/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKa google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.39.0 h1:Klz8I9kdtkIN6EpHHUOMLCYhTn/2WAe5a0s1hcBkdTI= -google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= +google.golang.org/grpc v1.39.1 h1:f37vZbBVTiJ6jKG5mWz8ySOBxNqy6ViPgyhSdVnxF3E= +google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= diff --git a/pfcpiface/vendor/google.golang.org/grpc/internal/transport/http2_client.go b/pfcpiface/vendor/google.golang.org/grpc/internal/transport/http2_client.go index d10b6aacb..17fc4503c 100644 --- a/pfcpiface/vendor/google.golang.org/grpc/internal/transport/http2_client.go +++ b/pfcpiface/vendor/google.golang.org/grpc/internal/transport/http2_client.go @@ -1275,6 +1275,7 @@ func (t *http2Client) operateHeaders(frame *http2.MetaHeadersFrame) { contentTypeErr string grpcMessage string statusGen *status.Status + recvCompress string httpStatus string rawStatus string @@ -1292,7 +1293,7 @@ func (t *http2Client) operateHeaders(frame *http2.MetaHeadersFrame) { mdata[hf.Name] = append(mdata[hf.Name], hf.Value) isGRPC = true case "grpc-encoding": - s.recvCompress = hf.Value + recvCompress = hf.Value case "grpc-status": rawStatus = hf.Value case "grpc-message": @@ -1384,6 +1385,7 @@ func (t *http2Client) operateHeaders(frame *http2.MetaHeadersFrame) { // These values can be set without any synchronization because // stream goroutine will read it only after seeing a closed // headerChan which we'll close after setting this. + s.recvCompress = recvCompress if len(mdata) > 0 { s.header = mdata } diff --git a/pfcpiface/vendor/google.golang.org/grpc/server.go b/pfcpiface/vendor/google.golang.org/grpc/server.go index d90f3fcd3..4f2876c2c 100644 --- a/pfcpiface/vendor/google.golang.org/grpc/server.go +++ b/pfcpiface/vendor/google.golang.org/grpc/server.go @@ -863,6 +863,7 @@ func (s *Server) handleRawConn(lisAddr string, rawConn net.Conn) { // Finish handshaking (HTTP2) st := s.newHTTP2Transport(conn, authInfo) if st == nil { + conn.Close() return } diff --git a/pfcpiface/vendor/google.golang.org/grpc/version.go b/pfcpiface/vendor/google.golang.org/grpc/version.go index 3dd146afb..3495d3866 100644 --- a/pfcpiface/vendor/google.golang.org/grpc/version.go +++ b/pfcpiface/vendor/google.golang.org/grpc/version.go @@ -19,4 +19,4 @@ package grpc // Version is the current grpc version. -const Version = "1.39.0" +const Version = "1.39.1" diff --git a/pfcpiface/vendor/modules.txt b/pfcpiface/vendor/modules.txt index 98817918f..d6f07db22 100644 --- a/pfcpiface/vendor/modules.txt +++ b/pfcpiface/vendor/modules.txt @@ -60,7 +60,7 @@ golang.org/x/text/unicode/norm # google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 google.golang.org/genproto/googleapis/rpc/code google.golang.org/genproto/googleapis/rpc/status -# google.golang.org/grpc v1.39.0 +# google.golang.org/grpc v1.39.1 google.golang.org/grpc google.golang.org/grpc/attributes google.golang.org/grpc/backoff