Skip to content

byte ownership,提供信息方便使用方的pool回收mem #1942

Description

@zhyq0520

Hi,
如果调用方使用了[]byte pool,
rpc response直接应用[]byte,但是调用方不知道框架什么时候不再使用response,
导致调用方不知道什么时候回收[]byte,
所以能提供相关信息吗,比如回调、或者某种特殊的middleware

Thx

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions