You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The connector uses Mono.from(Publisher) to obtain Jetty's ReactiveResponse. However it also cancels after the first item and is meant for use with a Publisher that can produce a sequence. We need to use Mono.fromDirect instead which does not cancel the upstream since in this case we only expect one item.
The connector uses
Mono.from(Publisher)
to obtain Jetty'sReactiveResponse
. However it also cancels after the first item and is meant for use with aPublisher
that can produce a sequence. We need to useMono.fromDirect
instead which does not cancel the upstream since in this case we only expect one item.This will help with jetty-project/jetty-reactive-httpclient#22 so that the Jetty reactive client can abort the request in case of a cancel signal.
The text was updated successfully, but these errors were encountered: