Skip to content

the delegate's didSendRequestPart is invoked at the wrong point in time #565

Closed
@weissi

Description

@weissi

Since version 1.6.0 (it worked in 1.5.1), AHC seemingly invokes the delegates didSendRequestPart method when the write of the body part is started and not when the write has succeeded.

That's pretty bad because a user might trigger the generation of the next data to send in this delegate method which therefore might break backpressure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugFeature doesn't work as expected.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions