Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Discard request stream when server dispatcher receives reset (linkerd…
…#2264) When Linkerd's ServerDispatcher receives a stream reset immediately after receiving a request, it `raise`s to cancel sending that request to the service. In this case, the request is dropped but may have unread data frames in its stream. This can result in a direct memory leak because these unread frames retain a non-zero reference count even though they are unreachable. When `raise`ing the send of the request, we also cancel the request's stream which properly releases any frames in the stream. Signed-off-by: Alex Leong <alex@buoyant.io>
- Loading branch information