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

http client destroy_operation #478

Merged
merged 1 commit into from
May 13, 2024
Merged

Conversation

beef9999
Copy link
Collaborator

No description provided.

@beef9999 beef9999 marked this pull request as ready for review May 10, 2024 12:10
if(CCACHE_FOUND)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
endif(CCACHE_FOUND)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ccache is not safe enough, especially when switching from debug to release.

Besides, CMake has already supported incremental compile.

@@ -92,16 +101,10 @@ class Client : public Object {
enable_proxy(c->has_proxy()),
_client(c) {}
Operation(uint16_t buf_size) : req(_buf, buf_size) {}
~Operation() = default;
friend void Client::destroy_operation(Operation* op);
Copy link
Collaborator Author

@beef9999 beef9999 May 10, 2024

Choose a reason for hiding this comment

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

Allow client->destroy_operation(op), while forbid calling delete op

@beef9999 beef9999 force-pushed the beef9999/br-14 branch 2 times, most recently from 1a6007d to 2f7faf8 Compare May 11, 2024 07:41
@lihuiba lihuiba merged commit 5fdf974 into alibaba:main May 13, 2024
8 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