Stephane Landelle
Stephane Landelle
> Can we make them unmodifiable then, using the special constructor that prevents stack trace modification and suppressed exceptions. Hardly, this constructor is on `Throwable` so we can't extend `IOException`....
FYI, we do the exact same thing as Netty: https://github.com/netty/netty/blob/4.1/common/src/main/java/io/netty/util/internal/ThrowableUtil.java#L30-L33.
This use case is not supported atm. You’re suppose to close the client only once you’re done. AHC doesn’t have a controller which would keep track of flying requests. That’s...
Why? In this case, SslContext is provided by the user so he has control over ref count. Moreover, isn’t it created with a refcount of 1?
Honestly, reactive streams support was contributed by people from Lightbend, but there's been nobody on the line since then. Please contribute if you can.
Contributions welcome :)
Yeah, a blocking close() would be fine. I guess a simple CountdownLatch in `ChannelManager#close` would suffice. Thanks!
@MiErnst gentle ping
No by me. Contributions welcome.
@fancellu Your HttpURLConnection based sample doesn't work for me. And as far as I know, Java doesn't support this, see https://bugs.openjdk.java.net/browse/JDK-8028776.