Open rossabaker opened 5 years ago
Reproduction, based on a gist from @sherwinschiu.
I think the problem is that when the NettySubscriber
cancels, the StreamSubscriber
is under no obligation to send an onComplete
or onError
event. The NettySubscriber
should remove the channel handler when it cancels. But cancellation is handled by the parent HandlerSubscriber
from netty-reactive-streams, so there's no hook to clean up the resources.
Better discussion: https://github.com/AsyncHttpClient/async-http-client/issues/1660
Under load, sending requests with bodies with the async HTTP client backend fails intermittently:
Similar to https://github.com/AsyncHttpClient/async-http-client/issues/1627.