Skip to content

HTTP client stream should handle a write to a stream which has been reset without having being allocated#5411

Merged
vietj merged 1 commit into4.xfrom
handle-http-client-request-reset-before-write
Dec 2, 2024
Merged

HTTP client stream should handle a write to a stream which has been reset without having being allocated#5411
vietj merged 1 commit into4.xfrom
handle-http-client-request-reset-before-write

Conversation

@vietj
Copy link
Member

@vietj vietj commented Dec 2, 2024

Motivation:

Vert.x HTTP client stream does not allocate a stream when the stream has been reset by the application before its allocation. When such stream is being written, the stream behaves normally and fails since the internal state is not correct.

Changes:

Record the reset state of a stream and guard against writes in such case.

…eset without having being allocated.

Motivation:

Vert.x HTTP client stream does not allocate a stream when the stream has been reset by the application before its allocation. When such stream is being written, the stream behaves normally and fails since the internal state is not correct.

Changes:

Record the reset state of a stream and guard against writes in such case.
@vietj vietj added the bug label Dec 2, 2024
@vietj vietj added this to the 4.5.12 milestone Dec 2, 2024
@vietj vietj self-assigned this Dec 2, 2024
@vietj vietj merged commit 2d361cf into 4.x Dec 2, 2024
@vietj vietj deleted the handle-http-client-request-reset-before-write branch December 2, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant