Skip to content

Is it allowed to call .output() more than once on seastar::connected_socket? #2719

Closed
@kelbon

Description

@kelbon

Is it valid to create output each time when writing to socket ?

auto out = sock.output();
co_await out.write(...);
co_await out.close();

Seems like correct code to me, but behaves strange in practice

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions