You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by GitBox <gi...@apache.org> on 2019/12/11 21:17:07 UTC
[GitHub] [httpcomponents-core] rschmitt opened a new pull request #164:
ReactiveResponseConsumer: Fix empty response handling
rschmitt opened a new pull request #164: ReactiveResponseConsumer: Fix empty response handling
URL: https://github.com/apache/httpcomponents-core/pull/164
Presently the contract of `AsyncDataConsumer` and its implementations is
that `streamEnd` is only called at the end of a data stream. If the HTTP
message does not enclose an entity, then no such stream actually exists;
in this case, `releaseResources` is called instead. This change teaches
`ReactiveResponseConsumer` to call `Subscriber#onComplete` in this case.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org