Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add set body buffer for http client #666

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

liulanzheng
Copy link
Collaborator

No description provided.

net/http/client.h Outdated Show resolved Hide resolved
net/http/client.h Outdated Show resolved Hide resolved
@liulanzheng liulanzheng force-pushed the release/0.8 branch 4 times, most recently from 5b111a8 to 0a86f84 Compare December 17, 2024 10:44
@liulanzheng liulanzheng requested a review from lihuiba December 18, 2024 02:39
@@ -106,6 +122,8 @@ class Client : public Object {
explicit Operation(uint16_t buf_size) : req(_buf, buf_size), _client(nullptr) {}
Operation() = delete;
~Operation() = default;

friend class ClientImpl;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ClientImpl is a sub-class of Client. There's no need be friend?

Copy link
Collaborator Author

@liulanzheng liulanzheng Dec 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could not compile

net/http/client.h Outdated Show resolved Hide resolved
net/http/client.h Show resolved Hide resolved
net/http/client.h Outdated Show resolved Hide resolved
@lihuiba lihuiba merged commit 8cf7203 into alibaba:release/0.8 Dec 18, 2024
11 checks passed
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