Bump github.com/go-micro/plugins/v4/client/grpc from 1.2.0 to 1.2.1

Bumps [github.com/go-micro/plugins/v4/client/grpc](https://github.com/go-micro/plugins) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/compare/v4/auth/jwt/v1.2.0...v4/logger/zap/v1.2.1)

---
updated-dependencies:
- dependency-name: github.com/go-micro/plugins/v4/client/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot]
2023-08-30 09:19:49 +00:00
committed by Ralf Haferkamp
parent 91ac2cfcb5
commit eaf64e624e
4 changed files with 9 additions and 4 deletions

View File

@@ -205,6 +205,11 @@ func (g *grpcClient) stream(ctx context.Context, node *registry.Node, req client
header["x-content-type"] = req.ContentType()
md := gmetadata.New(header)
// WebSocket connection adds the `Connection: Upgrade` header.
// But as per the HTTP/2 spec, the `Connection` header makes the request malformed
delete(md, "connection")
ctx = gmetadata.NewOutgoingContext(ctx, md)
cf, err := g.newGRPCCodec(req.ContentType())