question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BlazeClientBuilder: SslContext.getDefault can throw outside the monad

See original GitHub issue

This is another appearance of the problem mentioned in #1956 . On some systems SslContext.getDefault can throw, which is not handled correctly. BlazeClientBuilder uses SslContext.getDefault as a default argument, which leaves capturing the exception to the user.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
rossabakercommented, May 29, 2019

Maybe in the long run, a sum type rather than abusing Option is a better way to express this. But #2604 fixes this in a binary compatible way in 0.20.

1reaction
kevinmeredithcommented, Mar 28, 2019

Hi @nigredo-tori - I’m sorry that I was not clear. My above question was meant for the http4s maintainers.

Read more comments on GitHub >

github_iconTop Results From Across the Web

http4s/http4s - Gitter
Hi All! I just asked this in FS2, but maybe here is better. Can I use http4s to connect to a remote websocket,...
Read more >
SSLContext (Java Platform SE 8 ) - Oracle Help Center
This protocol is described in the SSLContext section of the Java Cryptography ... public static SSLContext getDefault() throws NoSuchAlgorithmException.
Read more >
Changelog - http4s
A server we connect to with http4s-async-http-client could theoretically respond with a large or malicious compressed stream and exhaust memory in the client ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found