-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bump: grpc 1.58.0 #1856
bump: grpc 1.58.0 #1856
Changes from 9 commits
5ad4f63
3421f39
faae6c1
9743d3f
1adb40e
57ccbb6
2f77991
2a540af
ecd67b1
ed712e3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,11 +22,12 @@ object Dependencies { | |
val akkaHttp = "10.6.0-M2" | ||
val akkaHttpBinary = "10.6" | ||
|
||
val grpc = "1.54.2" // checked synced by VersionSyncCheckPlugin | ||
val grpc = "1.58.0" // checked synced by VersionSyncCheckPlugin | ||
|
||
// Even referenced explicitly in the sbt-plugin's sbt-tests | ||
// If changing this, remember to update protoc plugin version to align in | ||
// maven-plugin/src/main/maven/plugin.xml and akka.grpc.sbt.AkkaGrpcPlugin | ||
val googleProtobuf = "3.21.12" // checked synced by VersionSyncCheckPlugin | ||
val googleProtobuf = "3.24.0" // checked synced by VersionSyncCheckPlugin | ||
val googleApi = "2.23.0" | ||
|
||
val scalaTest = "3.2.12" | ||
|
@@ -155,6 +156,5 @@ object Dependencies { | |
Test.scalaTest, | ||
Test.scalaTestPlusJunit, | ||
Test.akkaTestkitTyped, | ||
Protobuf.googleCommonProtos, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is somewhat weird. I saw the |
||
GrpcApi.googleApiProtos) | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,8 @@ object AkkaHttpClientUtils { | |
val clientConnectionSettings = | ||
ClientConnectionSettings(sys).withTransport(ClientTransport.withCustomResolver((host, _) => { | ||
settings.overrideAuthority.foreach { authority => | ||
assert(host == authority) | ||
if (host != authority) | ||
throw new IllegalArgumentException(s"Unexpected host [$host], expected authority [$authority]") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. unrelated, but we don't use |
||
} | ||
settings.serviceDiscovery.lookup(settings.serviceName, 10.seconds).map { resolved => | ||
// quasi-roundrobin is nicer than random selection: somewhat lower chance of making | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this was wrong,
Some(null)
is never a good thing.null
is valid in InetSocketAddress. Now it will try to resolve the host, which I think was the intention with"example.invalid"
, but that doesn't work with netty backend. Created issue #1857 for that