mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-06 04:09:40 -06:00
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:
committed by
Ralf Haferkamp
parent
91ac2cfcb5
commit
eaf64e624e
5
vendor/github.com/go-micro/plugins/v4/client/grpc/grpc.go
generated
vendored
5
vendor/github.com/go-micro/plugins/v4/client/grpc/grpc.go
generated
vendored
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user