fixed http client write buffer failed.#5710
Open
wang007 wants to merge 1 commit intoeclipse-vertx:masterfrom
Open
fixed http client write buffer failed.#5710wang007 wants to merge 1 commit intoeclipse-vertx:masterfrom
wang007 wants to merge 1 commit intoeclipse-vertx:masterfrom
Conversation
Member
|
can you add a test for this ? |
87186c9 to
ba12447
Compare
Contributor
Author
done. |
ba12447 to
4c38c3f
Compare
Member
|
thanks @wang007 can you avoid un-necessary code reformat in the pull request ? |
4c38c3f to
11b43ee
Compare
Contributor
Author
ok |
11b43ee to
4ddbecb
Compare
Contributor
Author
|
@vietj Could you review this pr? |
Member
|
@wang007 can you make a single commit formatted with the title / motivation / changes for this PR ? |
Motivation: When using the vertx-http-proxy proxy for the h2 protocol, there is a bug in the handling of content-length when writing buffer. Modifications: HttpClientRequestImpl#write,HttpClientRequestImpl#requiresContentLength
7cbe714 to
1a3816b
Compare
Contributor
Author
|
@vietj Done. Please review this pr again. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation:
When using the vertx-http-proxy proxy for the h2 protocol, there is a bug in the handling of content-length when writing buffer.
Modifications: HttpClientRequestImpl#write,HttpClientRequestImpl#requiresContentLength
#5708