-
Notifications
You must be signed in to change notification settings - Fork 787
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
Ember Upgrade onto fs2.io.tls #3055
Conversation
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.
Hypothetical because it requires an unreleased version of fs2? I like the API cleanup a lot.
ember-client/src/main/scala/org/http4s/ember/client/EmberClientBuilder.scala
Outdated
Show resolved
Hide resolved
Yes, its currently on the snapshot that is unreleased, however its a major improvement IMO. |
I jumped on this to see if it's ready while I'm preparing releases. All credit for the important work to Chris. |
Still a compile error:
|
This was changed afterwards due to comments from this PR, now I think the toOption stuff is now unecessary. |
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.
Is TLSContext.system(blocker)
something we expect to fail, and want to swallow if it does? Maybe this type could be simplified to F[TLSContext]
?
Compiling in my head with an unfamiliar API, so ignore me if this is nonsense.
This is analagous to what we do in blaze. |
Oh, right, to delay the construction for those pathological cases where the default throws. Ugh. Yeah, good call. |
No description provided.