Skip to content

ClientReactiveSocket sends NEXT_COMPLETE after REQUEST_SUBSCRIPTION/REQUEST_RESPONSE/etc. #226

@lexs

Description

@lexs

I'm observing that after REQUEST_SUBSCRIPTION it also sends a RESPONSE frame with the COMPLETE flag set. This is out of spec obviously but might break a less lenient implementation.

This is caused by ClientReactiveSocket passing a Px.just<Payload>() which emits a onComplete() that is handled by RemoteSender (created in handleStreamResponse()) here: https://github.com/ReactiveSocket/reactivesocket-java/blob/b8fd58aaafec022bacc7a9c5f214d720f3535dd1/reactivesocket-core/src/main/java/io/reactivesocket/internal/RemoteSender.java#L162

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions