Skip to content

HttpServerResponse.send(publisher).then() does not propagate error signals #231

@rstoyanchev

Description

@rstoyanchev

Expected behavior

When writing with HttpServerResponse.send(publisher).then(), if the writing Publisher completes with an error, the error should be observed from the subscriber side.

Actual behavior

The subscriber receives onComplete instead of onError.

Steps to reproduce

I observed this while experimenting with the sample for this issue. The writing to the response is in the ReactorServerHttpResponse. Only onComplete flows out of that.

Reactor Netty version

0.7.2

JVM version (e.g. java -version)

1.8

OS version (e.g. uname -a)

Linux/Ubuntu

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions