-
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
support SSLContext setting in Akka-Http backend #1652
Conversation
mirroring the behavior of the Netty backend
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.
This means if sslContext
is set the trustManager
setting will be ignored, right?
I think that probably makes sense, but perhaps we should add a validation and throw an error when a user sets both?
Sorry @raboof, I could do with paying closer attention to my notifications 😄 . I was attempting to mirror the existing behavior akka-grpc/runtime/src/main/scala/akka/grpc/internal/NettyClientUtils.scala Lines 59 to 76 in 5c0f851
But I take your point that it would be a good safety feature in the config builder to throw an error on ‘ambiguous’ configuration, rather than taking some silent ordering of precedence. Could we leave that for a follow on PR? |
Yes, I guess that makes sense.
I'm not sure I understand what you mean here. I agree it's legitimate to want to use the builder to override rather than just accumulate. When an existing |
filed as issue #1674 |
mirroring the behavior of the Netty backend