cloudwego / hertz

Go HTTP framework with high-performance and strong-extensibility for building micro-services.
https://www.cloudwego.io
Apache License 2.0
5.12k stars 496 forks source link

feat: add method to exile requestContext #1101

Closed welkeyever closed 4 months ago

welkeyever commented 4 months ago

What type of PR is this?

feat

Check the PR title.

(Optional) Translate the PR title into Chinese.

增加一个方法能够放逐掉当前的 RequestContext(请求结束不入池)

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en: zh(optional): Experimental features: Use with caution, it may have a slight impact on performance. 实验性功能:谨慎使用,可能会对性能有少许影响。

(Optional) Which issue(s) this PR fixes:

(Optional) The PR that updates user documentation: