Skip to content

Conversation

wang007
Copy link
Contributor

@wang007 wang007 commented Sep 9, 2025

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

@vietj
Copy link
Member

vietj commented Sep 10, 2025

can you add a test for this ?

@wang007 wang007 force-pushed the http-client-chunked-fix branch 4 times, most recently from 87186c9 to ba12447 Compare September 10, 2025 06:44
@wang007
Copy link
Contributor Author

wang007 commented Sep 10, 2025

can you add a test for this ?

done.

@wang007 wang007 force-pushed the http-client-chunked-fix branch from ba12447 to 4c38c3f Compare September 10, 2025 07:31
@vietj
Copy link
Member

vietj commented Sep 11, 2025

thanks @wang007 can you avoid un-necessary code reformat in the pull request ?

@wang007 wang007 force-pushed the http-client-chunked-fix branch from 4c38c3f to 11b43ee Compare September 11, 2025 09:13
@wang007
Copy link
Contributor Author

wang007 commented Sep 11, 2025

thanks @wang007 can you avoid un-necessary code reformat in the pull request ?

ok

@wang007 wang007 force-pushed the http-client-chunked-fix branch from 11b43ee to 4ddbecb Compare September 12, 2025 06:29
@wang007
Copy link
Contributor Author

wang007 commented Sep 16, 2025

@vietj Could you review this pr?

@vietj
Copy link
Member

vietj commented Sep 26, 2025

@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
@wang007 wang007 force-pushed the http-client-chunked-fix branch from 7cbe714 to 1a3816b Compare September 26, 2025 08:09
@wang007
Copy link
Contributor Author

wang007 commented Sep 26, 2025

@vietj Done. Please review this pr again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants