Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure the post-process of a response is executed without a local req…
…uest context (#4527) Motivation: A listener of a `ChannelFuture` can have a different request context in the thread local. Because Netty handles some pending requests in a batch task with an event loop having the different request context. Modifications: - Remove a request context from thread local before invoking `tryComplete()` Result: Fixed a potential `RequestContext` leak when an incomplete `HttpResponse` is returned.
- Loading branch information